|
| 1 | +cabal-version: 3.0 |
| 2 | + |
| 3 | +name: cardano-cli |
| 4 | +version: 8.0.0 |
| 5 | +synopsis: The Cardano command-line interface |
| 6 | +description: The Cardano command-line interface. |
| 7 | +copyright: 2020-2023 Input Output Global Inc (IOG). |
| 8 | +author: IOHK |
| 9 | + |
| 10 | +category: Cardano, |
| 11 | + CLI, |
| 12 | +license: Apache-2.0 |
| 13 | +license-files: LICENSE |
| 14 | + NOTICE |
| 15 | +build-type: Simple |
| 16 | +extra-source-files: README.md |
| 17 | + |
| 18 | +Flag unexpected_thunks |
| 19 | + Description: Turn on unexpected thunks checks |
| 20 | + Default: False |
| 21 | + |
| 22 | +common project-config |
| 23 | + default-language: Haskell2010 |
| 24 | + |
| 25 | + default-extensions: OverloadedStrings |
| 26 | + build-depends: base >= 4.14 && < 4.17 |
| 27 | + |
| 28 | + ghc-options: -Wall |
| 29 | + -Wcompat |
| 30 | + -Wincomplete-record-updates |
| 31 | + -Wincomplete-uni-patterns |
| 32 | + -Wno-unticked-promoted-constructors |
| 33 | + -Wpartial-fields |
| 34 | + -Wredundant-constraints |
| 35 | + -Wunused-packages |
| 36 | + |
| 37 | +common maybe-unix |
| 38 | + if !os(windows) |
| 39 | + build-depends: unix |
| 40 | + |
| 41 | +common maybe-bytestring |
| 42 | + if !os(windows) |
| 43 | + build-depends: bytestring |
| 44 | + |
| 45 | +library |
| 46 | + import: project-config |
| 47 | + |
| 48 | + if flag(unexpected_thunks) |
| 49 | + cpp-options: -DUNEXPECTED_THUNKS |
| 50 | + |
| 51 | + hs-source-dirs: src |
| 52 | + |
| 53 | + exposed-modules: Cardano.CLI.Environment |
| 54 | + Cardano.CLI.Helpers |
| 55 | + Cardano.CLI.Parsers |
| 56 | + Cardano.CLI.Render |
| 57 | + Cardano.CLI.Run |
| 58 | + Cardano.CLI.Run.Friendly |
| 59 | + Cardano.CLI.Types |
| 60 | + |
| 61 | + Cardano.CLI.Byron.Commands |
| 62 | + Cardano.CLI.Byron.Parsers |
| 63 | + Cardano.CLI.Byron.Run |
| 64 | + Cardano.CLI.Byron.Delegation |
| 65 | + Cardano.CLI.Byron.Genesis |
| 66 | + Cardano.CLI.Byron.Key |
| 67 | + Cardano.CLI.Byron.Legacy |
| 68 | + Cardano.CLI.Byron.Tx |
| 69 | + Cardano.CLI.Byron.Query |
| 70 | + Cardano.CLI.Byron.UpdateProposal |
| 71 | + Cardano.CLI.Byron.Vote |
| 72 | + |
| 73 | + Cardano.CLI.Common.Parsers |
| 74 | + Cardano.CLI.Pretty |
| 75 | + Cardano.CLI.IO.Lazy |
| 76 | + |
| 77 | + Cardano.CLI.Shelley.Commands |
| 78 | + Cardano.CLI.Shelley.Key |
| 79 | + Cardano.CLI.Shelley.Orphans |
| 80 | + Cardano.CLI.Shelley.Output |
| 81 | + Cardano.CLI.Shelley.Parsers |
| 82 | + Cardano.CLI.Shelley.Run |
| 83 | + Cardano.CLI.Shelley.Run.Address |
| 84 | + Cardano.CLI.Shelley.Run.Address.Info |
| 85 | + Cardano.CLI.Shelley.Run.Genesis |
| 86 | + Cardano.CLI.Shelley.Run.Governance |
| 87 | + Cardano.CLI.Shelley.Run.Key |
| 88 | + Cardano.CLI.Shelley.Run.Node |
| 89 | + Cardano.CLI.Shelley.Run.Pool |
| 90 | + Cardano.CLI.Shelley.Run.Query |
| 91 | + Cardano.CLI.Shelley.Run.StakeAddress |
| 92 | + Cardano.CLI.Shelley.Run.TextView |
| 93 | + Cardano.CLI.Shelley.Run.Transaction |
| 94 | + Cardano.CLI.Shelley.Run.Read |
| 95 | + Cardano.CLI.Shelley.Run.Validate |
| 96 | + |
| 97 | + Cardano.CLI.Ping |
| 98 | + |
| 99 | + Cardano.CLI.TopHandler |
| 100 | + |
| 101 | + other-modules: Paths_cardano_cli |
| 102 | + autogen-modules: Paths_cardano_cli |
| 103 | + |
| 104 | + build-depends: aeson >= 1.5.6.0 |
| 105 | + , aeson-pretty >= 0.8.5 |
| 106 | + , ansi-terminal |
| 107 | + , attoparsec |
| 108 | + , base16-bytestring >= 1.0 |
| 109 | + , bech32 >= 1.1.0 |
| 110 | + , binary |
| 111 | + , bytestring |
| 112 | + , canonical-json |
| 113 | + , cardano-api ^>= 8.0.0 |
| 114 | + , cardano-binary |
| 115 | + , cardano-crypto |
| 116 | + , cardano-crypto-class >= 2.1.1 |
| 117 | + , cardano-crypto-wrapper ^>= 1.5 |
| 118 | + , cardano-data >= 1.0 |
| 119 | + , cardano-git-rev |
| 120 | + , cardano-ledger-alonzo >= 1.1.1 |
| 121 | + , cardano-ledger-byron >= 1.0 |
| 122 | + , cardano-ledger-binary >= 1.0 |
| 123 | + , cardano-ledger-core >= 1.1 |
| 124 | + , cardano-ledger-conway >= 1.1 |
| 125 | + , cardano-ledger-shelley >= 1.1.1 |
| 126 | + , cardano-ping ^>= 0.1.0.1 |
| 127 | + , cardano-prelude |
| 128 | + , cardano-protocol-tpraos >= 1.0 |
| 129 | + , cardano-slotting ^>= 0.1 |
| 130 | + , cardano-strict-containers ^>= 0.1 |
| 131 | + , cborg >= 0.2.4 && < 0.3 |
| 132 | + , containers |
| 133 | + , contra-tracer |
| 134 | + , cryptonite |
| 135 | + , deepseq |
| 136 | + , directory |
| 137 | + , filepath |
| 138 | + , formatting |
| 139 | + , io-classes |
| 140 | + , iproute |
| 141 | + , mtl |
| 142 | + , microlens |
| 143 | + , network |
| 144 | + , optparse-applicative-fork |
| 145 | + , ouroboros-consensus >= 0.6 |
| 146 | + , ouroboros-consensus-cardano >= 0.5 |
| 147 | + , ouroboros-consensus-protocol >= 0.5 |
| 148 | + , ouroboros-network-api |
| 149 | + , ouroboros-network-protocols |
| 150 | + , parsec |
| 151 | + , prettyprinter |
| 152 | + , prettyprinter-ansi-terminal |
| 153 | + , random |
| 154 | + , split |
| 155 | + , strict-stm |
| 156 | + , text |
| 157 | + , time |
| 158 | + , transformers |
| 159 | + , transformers-except ^>= 0.1.3 |
| 160 | + , unliftio-core |
| 161 | + , utf8-string |
| 162 | + , vector |
| 163 | + , yaml |
| 164 | + |
| 165 | +executable cardano-cli |
| 166 | + import: project-config |
| 167 | + , maybe-unix |
| 168 | + hs-source-dirs: app |
| 169 | + main-is: cardano-cli.hs |
| 170 | + ghc-options: -threaded -rtsopts "-with-rtsopts=-T" |
| 171 | + |
| 172 | + build-depends: cardano-cli |
| 173 | + , cardano-crypto-class ^>= 2.1 |
| 174 | + , optparse-applicative-fork |
| 175 | + , transformers-except |
| 176 | + |
| 177 | +test-suite cardano-cli-test |
| 178 | + import: project-config, maybe-unix, maybe-bytestring |
| 179 | + |
| 180 | + hs-source-dirs: test |
| 181 | + main-is: cardano-cli-test.hs |
| 182 | + type: exitcode-stdio-1.0 |
| 183 | + |
| 184 | + build-depends: aeson |
| 185 | + , base16-bytestring |
| 186 | + , bytestring |
| 187 | + , bech32 >= 1.1.0 |
| 188 | + , cardano-api ^>= 8.0.0 |
| 189 | + , cardano-api:gen ^>= 8.0.0 |
| 190 | + , cardano-cli |
| 191 | + , cardano-node |
| 192 | + , cardano-slotting ^>= 0.1 |
| 193 | + , containers |
| 194 | + , directory |
| 195 | + , exceptions |
| 196 | + , filepath |
| 197 | + , hedgehog |
| 198 | + , hedgehog-extras ^>= 0.4.2 |
| 199 | + , parsec |
| 200 | + , text |
| 201 | + , time |
| 202 | + , transformers |
| 203 | + , yaml |
| 204 | + |
| 205 | + other-modules: Test.Config.Mainnet |
| 206 | + Test.Cli.CliIntermediateFormat |
| 207 | + Test.Cli.FilePermissions |
| 208 | + Test.Cli.ITN |
| 209 | + Test.Cli.JSON |
| 210 | + Test.Cli.MultiAssetParsing |
| 211 | + Test.Cli.Pioneers.Exercise1 |
| 212 | + Test.Cli.Pioneers.Exercise2 |
| 213 | + Test.Cli.Pioneers.Exercise3 |
| 214 | + Test.Cli.Pioneers.Exercise4 |
| 215 | + Test.Cli.Pioneers.Exercise5 |
| 216 | + Test.Cli.Pioneers.Exercise6 |
| 217 | + Test.Cli.Pipes |
| 218 | + Test.Cli.Shelley.Run.Query |
| 219 | + Test.OptParse |
| 220 | + |
| 221 | + ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T |
| 222 | + |
| 223 | +test-suite cardano-cli-golden |
| 224 | + import: project-config |
| 225 | + |
| 226 | + hs-source-dirs: test |
| 227 | + main-is: cardano-cli-golden.hs |
| 228 | + type: exitcode-stdio-1.0 |
| 229 | + |
| 230 | + build-depends: aeson >= 1.5.6.0 |
| 231 | + , base16-bytestring |
| 232 | + , bytestring |
| 233 | + , cardano-api ^>= 8.0.0 |
| 234 | + , cardano-cli |
| 235 | + , cardano-crypto-wrapper ^>= 1.5.1 |
| 236 | + , cardano-ledger-byron ^>= 1.0 |
| 237 | + , cardano-prelude |
| 238 | + , cborg |
| 239 | + , containers |
| 240 | + , Diff |
| 241 | + , directory |
| 242 | + , exceptions |
| 243 | + , filepath |
| 244 | + , hedgehog ^>= 1.2 |
| 245 | + , hedgehog-extras ^>= 0.4.2 |
| 246 | + , text |
| 247 | + , time |
| 248 | + , transformers |
| 249 | + , unordered-containers |
| 250 | + build-tool-depends: cardano-cli:cardano-cli |
| 251 | + |
| 252 | + other-modules: Test.Golden.Byron.SigningKeys |
| 253 | + Test.Golden.Byron.Tx |
| 254 | + Test.Golden.Byron.TxBody |
| 255 | + Test.Golden.Byron.UpdateProposal |
| 256 | + Test.Golden.Byron.Vote |
| 257 | + Test.Golden.Byron.Witness |
| 258 | + Test.Golden.Key |
| 259 | + Test.Golden.Key.NonExtendedKey |
| 260 | + Test.Golden.Shelley |
| 261 | + Test.Golden.Shelley.Address.Build |
| 262 | + Test.Golden.Shelley.Address.Info |
| 263 | + Test.Golden.Shelley.Address.KeyGen |
| 264 | + Test.Golden.Shelley.Genesis.Create |
| 265 | + Test.Golden.Shelley.Genesis.InitialTxIn |
| 266 | + Test.Golden.Shelley.Genesis.KeyGenDelegate |
| 267 | + Test.Golden.Shelley.Genesis.KeyGenGenesis |
| 268 | + Test.Golden.Shelley.Genesis.KeyGenUtxo |
| 269 | + Test.Golden.Shelley.Genesis.KeyHash |
| 270 | + Test.Golden.Shelley.Governance.AnswerPoll |
| 271 | + Test.Golden.Shelley.Governance.CreatePoll |
| 272 | + Test.Golden.Shelley.Governance.VerifyPoll |
| 273 | + Test.Golden.Shelley.Key.ConvertCardanoAddressKey |
| 274 | + Test.Golden.Shelley.Metadata.StakePoolMetadata |
| 275 | + Test.Golden.Shelley.MultiSig.Address |
| 276 | + Test.Golden.Shelley.Node.IssueOpCert |
| 277 | + Test.Golden.Shelley.Node.KeyGen |
| 278 | + Test.Golden.Shelley.Node.KeyGenKes |
| 279 | + Test.Golden.Shelley.Node.KeyGenVrf |
| 280 | + Test.Golden.Shelley.StakeAddress.Build |
| 281 | + Test.Golden.Shelley.StakeAddress.DeregistrationCertificate |
| 282 | + Test.Golden.Shelley.StakeAddress.KeyGen |
| 283 | + Test.Golden.Shelley.StakeAddress.RegistrationCertificate |
| 284 | + Test.Golden.Shelley.StakePool.RegistrationCertificate |
| 285 | + Test.Golden.Shelley.TextEnvelope.Certificates.GenesisKeyDelegationCertificate |
| 286 | + Test.Golden.Shelley.TextEnvelope.Certificates.MIRCertificate |
| 287 | + Test.Golden.Shelley.TextEnvelope.Certificates.OperationalCertificate |
| 288 | + Test.Golden.Shelley.TextEnvelope.Certificates.StakeAddressCertificates |
| 289 | + Test.Golden.Shelley.TextEnvelope.Certificates.StakePoolCertificates |
| 290 | + Test.Golden.Shelley.TextEnvelope.Keys.ExtendedPaymentKeys |
| 291 | + Test.Golden.Shelley.TextEnvelope.Keys.GenesisDelegateKeys |
| 292 | + Test.Golden.Shelley.TextEnvelope.Keys.GenesisKeys |
| 293 | + Test.Golden.Shelley.TextEnvelope.Keys.GenesisUTxOKeys |
| 294 | + Test.Golden.Shelley.TextEnvelope.Keys.KESKeys |
| 295 | + Test.Golden.Shelley.TextEnvelope.Keys.PaymentKeys |
| 296 | + Test.Golden.Shelley.TextEnvelope.Keys.StakeKeys |
| 297 | + Test.Golden.Shelley.TextEnvelope.Keys.VRFKeys |
| 298 | + Test.Golden.Shelley.TextEnvelope.Tx.Tx |
| 299 | + Test.Golden.Shelley.TextEnvelope.Tx.TxBody |
| 300 | + Test.Golden.Shelley.TextEnvelope.Tx.Witness |
| 301 | + Test.Golden.Shelley.TextView.DecodeCbor |
| 302 | + Test.Golden.Shelley.Transaction.Assemble |
| 303 | + Test.Golden.Shelley.Transaction.Build |
| 304 | + Test.Golden.Shelley.Transaction.CalculateMinFee |
| 305 | + Test.Golden.Shelley.Transaction.CreateWitness |
| 306 | + Test.Golden.Shelley.Transaction.Sign |
| 307 | + Test.Golden.TxView |
| 308 | + Test.Golden.Version |
| 309 | + Test.OptParse |
| 310 | + Test.Utilities |
| 311 | + |
| 312 | + ghc-options: -threaded -rtsopts -with-rtsopts=-N -with-rtsopts=-T |
0 commit comments