|
| 1 | +cabal-version: 2.2 |
| 2 | + |
| 3 | +name: cardano-prelude |
| 4 | +version: 0.2.0.0 |
| 5 | +synopsis: A Prelude replacement for the Cardano project |
| 6 | +description: A Prelude replacement for the Cardano project |
| 7 | +author: IOHK |
| 8 | + |
| 9 | +copyright: 2018-2023 Input Output Global Inc (IOG) |
| 10 | +license: Apache-2.0 |
| 11 | +license-files: |
| 12 | + LICENSE |
| 13 | + NOTICE |
| 14 | +category: Currency |
| 15 | +build-type: Simple |
| 16 | +extra-source-files: ChangeLog.md, README.md cbits/hashset.h cbits/worklist.h |
| 17 | +tested-with: GHC == 9.2.5, GHC == 8.10.7 |
| 18 | + |
| 19 | +flag development |
| 20 | + description: Disable `-Werror` |
| 21 | + default: False |
| 22 | + manual: True |
| 23 | + |
| 24 | +library |
| 25 | + hs-source-dirs: src |
| 26 | + exposed-modules: Cardano.Prelude |
| 27 | + Data.Semigroup.Action |
| 28 | + other-modules: Cardano.Prelude.Base |
| 29 | + Cardano.Prelude.Bool |
| 30 | + Cardano.Prelude.ConvertText |
| 31 | + Cardano.Prelude.Compat.ByteString.Short |
| 32 | + Cardano.Prelude.Either |
| 33 | + Cardano.Prelude.Error |
| 34 | + Cardano.Prelude.Formatting |
| 35 | + Cardano.Prelude.Functor |
| 36 | + Cardano.Prelude.GHC.Heap |
| 37 | + Cardano.Prelude.GHC.Heap.NormalForm |
| 38 | + Cardano.Prelude.GHC.Heap.Size |
| 39 | + Cardano.Prelude.GHC.Heap.Tree |
| 40 | + Cardano.Prelude.Json.Canonical |
| 41 | + Cardano.Prelude.Json.Parse |
| 42 | + Cardano.Prelude.Microlens |
| 43 | + Cardano.Prelude.Orphans |
| 44 | + Cardano.Prelude.Panic |
| 45 | + Cardano.Prelude.Read |
| 46 | + Cardano.Prelude.Safe |
| 47 | + Cardano.Prelude.Show |
| 48 | + Cardano.Prelude.Strict |
| 49 | + |
| 50 | + build-depends: base >= 4.14 && < 5 |
| 51 | + , aeson >= 2.0 |
| 52 | + , async |
| 53 | + , base16-bytestring >= 1 |
| 54 | + , bytestring |
| 55 | + , canonical-json >= 0.6.0.1 |
| 56 | + , cborg |
| 57 | + , containers |
| 58 | + , deepseq |
| 59 | + , extra |
| 60 | + , formatting |
| 61 | + , ghc-heap |
| 62 | + , ghc-prim |
| 63 | + , integer-gmp |
| 64 | + , microlens < 0.5 |
| 65 | + , mtl |
| 66 | + , stm |
| 67 | + , tagged |
| 68 | + , text |
| 69 | + , time |
| 70 | + , transformers |
| 71 | + default-language: Haskell2010 |
| 72 | + c-sources: cbits/hashset.c |
| 73 | + cbits/worklist.c |
| 74 | + cbits/closure_size.c |
| 75 | + ghc-options: -Wall |
| 76 | + |
| 77 | + cc-options: -Wall |
| 78 | + |
| 79 | + if (!flag(development)) |
| 80 | + ghc-options: -Werror |
0 commit comments