Skip to content

Commit

Permalink
restore autogenerated baby-l4.cabal
Browse files Browse the repository at this point in the history
when building natural4 downstream, stack throws this error:

    ┌─[mengwong@rosegold] - [~/src/smucclaw/dsl/lib/haskell/natural4] - [2022-12-05 11:03:34]
    └─[0] <git:(main 1ace7ecc) > 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 commercialhaskell/stack#5210.
    Support for this workflow will be removed in the future.

so, putting back the cabal file for now.
  • Loading branch information
mengwong committed Dec 5, 2022
1 parent a641090 commit dddc2a3
Showing 1 changed file with 190 additions and 0 deletions.
190 changes: 190 additions & 0 deletions baby-l4.cabal
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit dddc2a3

Please sign in to comment.