From dddc2a3a4eddaf3509388febc056dae23d9b0485 Mon Sep 17 00:00:00 2001 From: Meng Weng Wong Date: Mon, 5 Dec 2022 23:03:03 +0800 Subject: [PATCH] restore autogenerated baby-l4.cabal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit when building natural4 downstream, stack throws this error: ┌─[mengwong@rosegold] - [~/src/smucclaw/dsl/lib/haskell/natural4] - [2022-12-05 11:03:34] └─[0] stack build DEPRECATED: The package at Archive from https://github.com/smucclaw/baby-l4/archive/a6410905279cc7ee4e9d8dc959e3e4a4019633f9.tar.gz does not include a cabal file. Instead, it includes an hpack package.yaml file for generating a cabal file. This usage is deprecated; please see https://github.com/commercialhaskell/stack/issues/5210. Support for this workflow will be removed in the future. so, putting back the cabal file for now. --- baby-l4.cabal | 190 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 190 insertions(+) create mode 100644 baby-l4.cabal diff --git a/baby-l4.cabal b/baby-l4.cabal new file mode 100644 index 0000000..e77c0c3 --- /dev/null +++ b/baby-l4.cabal @@ -0,0 +1,190 @@ +cabal-version: 1.24 + +-- This file has been generated from package.yaml by hpack version 0.35.0. +-- +-- see: https://github.com/sol/hpack + +name: baby-l4 +version: 0.1.2.1 +description: baby-l4 provides the core language to which natural4 compiles. +homepage: https://github.com/smucclaw/baby-l4#readme +bug-reports: https://github.com/smucclaw/baby-l4/issues +author: Wong Meng Weng +maintainer: mwwong@smu.edu.sg +copyright: 2022 +license: BSD3 +license-file: LICENSE +build-type: Custom +extra-source-files: + README.org +data-files: + l4/Prelude.l4 + +source-repository head + type: git + location: https://github.com/smucclaw/baby-l4 + +custom-setup + setup-depends: + Cabal ==3.6.3.0 + , base >=4.7 && <5 + , filepath + +library + exposed-modules: + Exec + InterfaceNunchaku + JustificationVis + L4.Annotation + L4.Error + L4.KeyValueMap + L4.Lexer + L4.Parser + L4.PrintProg + L4.Syntax + L4.SyntaxManipulation + L4.TypeInference + L4.Typing + MainHelpers + Model + NormalizeSyntax + Proof + RuleTransfo + SimpleRules + Smt + TimedMC + ToASP + ToDA2 + ToDMN.FromL4 + ToDMN.FromSimpleToReg + ToDMN.Picklers + ToDMN.Types + ToEpilog + ToRules.FromL4 + ToRules.ToDecls + ToRules.ToRules + ToRules.Types + other-modules: + Paths_baby_l4 + hs-source-dirs: + src + ghc-options: -Wall -Wno-missed-extra-shared-lib + build-depends: + MissingH + , array + , base >=4.7 && <5 + , containers + , either + , extra + , fgl + , gf + , gf-ud + , ghc + , graphviz + , haskeline + , hslogger + , hxt + , lens + , lsp + , lsp-types + , megaparsec + , mmorph + , mtl + , optparse-applicative + , pretty-simple + , prettyprinter >=1.7.0 + , sbv + , simple-smt + , sorted-list + , split + , tasty + , tasty-hunit + , text + , transformers + default-language: Haskell2010 + +executable hxtread + main-is: Main.hs + other-modules: + DecTables + Paths_baby_l4 + hs-source-dirs: + hxtread + ghc-options: -Wall -Wno-missed-extra-shared-lib + build-depends: + MissingH + , array + , baby-l4 + , base >=4.7 && <5 + , containers + , either + , extra + , fgl + , gf + , gf-ud + , ghc + , graphviz + , haskeline + , hslogger + , hxt + , hxt-css + , lens + , lsp + , lsp-types + , megaparsec + , mmorph + , mtl + , optparse-applicative + , pretty-simple + , prettyprinter >=1.7.0 + , sbv + , simple-smt + , sorted-list + , split + , tasty + , tasty-hunit + , text + , transformers + default-language: Haskell2010 + +executable l4 + main-is: Main.hs + other-modules: + Paths_baby_l4 + hs-source-dirs: + exe + ghc-options: -Wall -Wno-missed-extra-shared-lib -threaded -rtsopts "-with-rtsopts=-N -H500M -qg" + build-depends: + MissingH + , array + , baby-l4 + , base >=4.7 && <5 + , containers + , either + , extra + , fgl + , gf + , gf-ud + , ghc + , graphviz + , haskeline + , hslogger + , hxt + , lens + , lsp + , lsp-types + , megaparsec + , mmorph + , mtl + , optparse-applicative + , pretty-simple + , prettyprinter >=1.7.0 + , sbv + , simple-smt + , sorted-list + , split + , tasty + , tasty-hunit + , text + , transformers + default-language: Haskell2010