diff --git a/doc/plutus-doc.cabal b/doc/plutus-doc.cabal index c5644d8fbf..4a05667da1 100644 --- a/doc/plutus-doc.cabal +++ b/doc/plutus-doc.cabal @@ -76,34 +76,47 @@ executable doc-doctests HelloWorldApp WriteScriptsTo + -------------------- + -- Local components + -------------------- build-depends: - , aeson - , base >=4.9 && <5 - , bytestring - , containers - , data-default - , flat , freer-extras >=1.0.0 - , lens , playground-common >=1.0.0 , plutus-chain-index-core >=1.0.0 , plutus-contract >=1.0.0 - , plutus-core >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , plutus-tx-constraints >=1.0.0 , plutus-use-cases >=1.0.0 - , QuickCheck + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , plutus-core >=1.0.0 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 , quickcheck-dynamic + + if !(impl(ghcjs) || os(ghcjs)) + build-depends: plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , base >=4.9 && <5 + , bytestring + , containers + , data-default + , flat + , lens + , QuickCheck , random , serialise , tasty , tasty-quickcheck - , template-haskell >=2.13.0.0 + , template-haskell >=2.13.0.0 , text - - if !(impl(ghcjs) || os(ghcjs)) - build-depends: plutus-tx-plugin >=1.0.0 diff --git a/freer-extras/freer-extras.cabal b/freer-extras/freer-extras.cabal index 0154548e81..261b54deb3 100644 --- a/freer-extras/freer-extras.cabal +++ b/freer-extras/freer-extras.cabal @@ -47,15 +47,22 @@ library Control.Monad.Freer.Extras.State Control.Monad.Freer.Extras.Stream + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: iohk-monitoring + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.7 && <5 + , base >=4.7 && <5 , beam-core , beam-sqlite , containers , data-default , freer-simple - , iohk-monitoring , lens , mtl , openapi3 @@ -74,21 +81,26 @@ test-suite freer-extras-test Control.Monad.Freer.Extras.BeamSpec Control.Monad.Freer.Extras.PaginationSpec - build-depends: - , hedgehog - , tasty - , tasty-hedgehog + ---------------------------- + -- Local components + ---------------------------- + build-depends: freer-extras + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: - , base >=4.7 && <5 + , base >=4.7 && <5 , beam-core , beam-migrate , beam-sqlite , containers , contra-tracer - , freer-extras , freer-simple + , hedgehog , lens , resource-pool , semigroups , sqlite-simple + , tasty + , tasty-hedgehog diff --git a/playground-common/playground-common.cabal b/playground-common/playground-common.cabal index 149a8141bd..fa2abc68b7 100644 --- a/playground-common/playground-common.cabal +++ b/playground-common/playground-common.cabal @@ -41,10 +41,31 @@ library -Wincomplete-record-updates -Wmissing-import-lists -Wredundant-constraints + -------------------- + -- Local components + -------------------- + build-depends: + freer-extras >=1.0.0 + , plutus-chain-index-core >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: aeson , aeson-casing - , base >=4.7 && <5 + , base >=4.7 && <5 , bytestring , containers , cookie @@ -53,7 +74,6 @@ library , deriving-compat , exceptions , foldl - , freer-extras , freer-simple , hashable , http-client @@ -66,20 +86,13 @@ library , mtl , newtype-generics , openapi3 - , plutus-chain-index-core >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , prettyprinter , process - , prometheus >=2 + , prometheus >=2 , purescript-bridge - , recursion-schemes <5.2 + , recursion-schemes <5.2 , row-types - , servant >=0.16 + , servant >=0.16 , servant-client , servant-purescript , servant-server @@ -115,14 +128,22 @@ test-suite playground-common-test -Wmissing-import-lists -Wredundant-constraints -fprint-potential-instances -Wunused-packages + -------------------- + -- Local components + -------------------- + build-depends: + playground-common >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: aeson - , base >=4.7 && <5 + , base >=4.7 && <5 , bytestring , freer-simple - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 , recursion-schemes <5.2 , tasty , tasty-hunit diff --git a/plutus-chain-index-core/plutus-chain-index-core.cabal b/plutus-chain-index-core/plutus-chain-index-core.cabal index 64b6d4f174..3f7fb3b177 100644 --- a/plutus-chain-index-core/plutus-chain-index-core.cabal +++ b/plutus-chain-index-core/plutus-chain-index-core.cabal @@ -67,22 +67,43 @@ library Plutus.Monitoring.Util hs-source-dirs: src + + -------------------- + -- Local components + -------------------- build-depends: , freer-extras >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api >=1.35 + , cardano-ledger-byron + , io-classes + , iohk-monitoring + , ouroboros-consensus + , ouroboros-consensus-byron + , ouroboros-consensus-cardano + , ouroboros-consensus-shelley + , ouroboros-network + , ouroboros-network-framework + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + , typed-protocols + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.7 && <5 + , base >=4.7 && <5 , beam-core , beam-migrate , beam-sqlite , bytestring - , cardano-api >=1.35 - , cardano-ledger-byron , containers , contra-tracer , cryptonite @@ -91,20 +112,12 @@ library , fingertree , freer-simple , http-types - , io-classes - , iohk-monitoring , lens , memory , mtl , nothunks , openapi3 - , ouroboros-consensus - , ouroboros-consensus-byron - , ouroboros-consensus-cardano - , ouroboros-consensus-shelley - , ouroboros-network - , ouroboros-network-framework - , prettyprinter >=1.1.0.1 + , prettyprinter >=1.1.0.1 , resource-pool , retry , semigroups @@ -119,7 +132,6 @@ library , stm , text , text-class - , typed-protocols , unordered-containers , warp @@ -135,12 +147,24 @@ test-suite plutus-chain-index-test Plutus.ChainIndex.HandlersSpec Util + -------------------- + -- Local components + -------------------- + build-depends: + , freer-extras >=1.0.0 + , plutus-chain-index-core >=1.0.0 + , plutus-ledger >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , plutus-chain-index-core - , plutus-ledger - , plutus-ledger-api >=1.0.0 - , plutus-tx >=1.0.0 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , base >=4.9 && <5 , beam-migrate @@ -150,7 +174,6 @@ test-suite plutus-chain-index-test , contra-tracer , data-default , fingertree - , freer-extras , freer-simple , hedgehog , lens diff --git a/plutus-chain-index/plutus-chain-index.cabal b/plutus-chain-index/plutus-chain-index.cabal index ff9f8d8a34..ba10e30209 100644 --- a/plutus-chain-index/plutus-chain-index.cabal +++ b/plutus-chain-index/plutus-chain-index.cabal @@ -51,27 +51,39 @@ library other-modules: Control.Concurrent.STM.TBMQueue hs-source-dirs: src + + -------------------- + -- Local components + -------------------- build-depends: , freer-extras >=1.0.0 , plutus-chain-index-core >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api >=1.35 + , iohk-monitoring + , ouroboros-network + , plutus-ledger-api >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson , async , base >=4.7 && <5 , beam-migrate , beam-sqlite - , cardano-api >=1.35 , clock , contra-tracer , data-default , freer-simple - , iohk-monitoring , lens , optparse-applicative - , ouroboros-network , prettyprinter >=1.1.0.1 , resource-pool , sqlite-simple @@ -90,8 +102,8 @@ executable plutus-chain-index -Wno-missing-import-lists -Wredundant-constraints -O0 build-depends: - , base >=4.9 && <5 - , plutus-chain-index >=1.0.0 + , base >=4.9 && <5 + , plutus-chain-index executable marconi main-is: Marconi.hs @@ -110,18 +122,31 @@ executable marconi -Wno-missing-import-lists -Wredundant-constraints -O0 -Wunused-packages + -------------------- + -- Local components + -------------------- build-depends: - , base >=4.9 && <5 - , bytestring - , cardano-api >=1.35 - , containers , hysterical-screams + , plutus-ledger >=1.0.0 + , plutus-script-utils >=1.0.0 + , plutus-streaming >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api >=1.35 , iohk-monitoring + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , base >=4.9 && <5 + , bytestring + , containers , lens , optparse-applicative - , plutus-ledger >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-streaming >=1.0.0 , prettyprinter , serialise , sqlite-simple diff --git a/plutus-contract-certification/plutus-contract-certification.cabal b/plutus-contract-certification/plutus-contract-certification.cabal index da50acb4db..f1b5e6669a 100644 --- a/plutus-contract-certification/plutus-contract-certification.cabal +++ b/plutus-contract-certification/plutus-contract-certification.cabal @@ -48,15 +48,27 @@ library Plutus.Contract.Test.Certification.Run hs-source-dirs: src + + -------------------- + -- Local components + -------------------- + build-depends: plutus-contract >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: plutus-tx >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.7 && <5 + , base >=4.7 && <5 , bytestring , containers , lens , mtl - , plutus-contract >=1.0.0 - , plutus-tx >=1.0.0 , QuickCheck , splitmix , stm diff --git a/plutus-contract/plutus-contract.cabal b/plutus-contract/plutus-contract.cabal index d8ec5dc246..415396e808 100644 --- a/plutus-contract/plutus-contract.cabal +++ b/plutus-contract/plutus-contract.cabal @@ -116,27 +116,41 @@ library Wallet.Types hs-source-dirs: src + + -------------------- + -- Local components + -------------------- build-depends: , freer-extras >=1.0.0 , plutus-chain-index-core >=1.0.0 - , plutus-core >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: , cardano-api >=1.35 , cardano-crypto , cardano-ledger-core + , cardano-wallet-core + , plutus-core >=1.0.0 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + , quickcheck-dynamic + if !(impl(ghcjs) || os(ghcjs)) + build-depends: plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson >=1.5.2 , aeson-pretty , base >=4.7 && <5 , bytestring - , cardano-wallet-core , containers , cryptonite >=0.25 , data-default @@ -159,7 +173,6 @@ library , prettyprinter >=1.1.0.1 , profunctors , QuickCheck - , quickcheck-dynamic , row-types >=1.0.1.0 , semigroupoids , serialise @@ -174,9 +187,6 @@ library , unordered-containers , uuid - if !(impl(ghcjs) || os(ghcjs)) - build-depends: plutus-tx-plugin >=1.0.0 - if flag(defer-plugin-errors) ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors @@ -198,6 +208,9 @@ library Plutus.Contract.Test.Coverage.ReportCoverage Plutus.Contract.Test.MissingLovelace + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , tasty , tasty-golden @@ -233,29 +246,45 @@ test-suite plutus-contract-test Spec.ThreadToken Spec.TimeValidity + -------------------- + -- Local components + -------------------- + build-depends: + , freer-extras >=1.0.0 + , plutus-chain-index-core >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-script-utils >=1.0.0 + , plutus-tx-constraints >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api:{cardano-api, gen} >=1.35 + , plutus-core >=1.0.0 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + if !(impl(ghcjs) || os(ghcjs)) + build-depends: plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 + , base >=4.9 && <5 , bytestring - , cardano-api:{cardano-api, gen} >=1.35 , containers , data-default , deepseq , extensible-effects - , freer-extras >=1.0.0 , freer-simple , hedgehog , lens , mtl - , plutus-chain-index-core >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-core >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 - , plutus-tx-constraints >=1.0.0 , pretty , prettyprinter , QuickCheck @@ -272,6 +301,3 @@ test-suite plutus-contract-test , text , transformers , utf8-string - - if !(impl(ghcjs) || os(ghcjs)) - build-depends: plutus-tx-plugin >=1.0.0 diff --git a/plutus-example/plutus-example.cabal b/plutus-example/plutus-example.cabal index 1d701487e8..0432d49967 100644 --- a/plutus-example/plutus-example.cabal +++ b/plutus-example/plutus-example.cabal @@ -66,22 +66,34 @@ library PlutusExample.PlutusVersion2.StakeScript PlutusExample.ScriptContextChecker + -------------------- + -- Local components + -------------------- + build-depends: plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , aeson - , bytestring , cardano-api >=1.35 , cardano-cli >=1.35 , cardano-ledger-alonzo , cardano-ledger-core , cardano-ledger-shelley , cardano-slotting - , containers , ouroboros-consensus , ouroboros-network , plutus-ledger-api >=1.0.0 - , plutus-script-utils >=1.0.0 , plutus-tx >=1.0.0 , plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , bytestring + , containers , serialise , strict-containers , text @@ -93,22 +105,46 @@ executable plutus-example hs-source-dirs: app main-is: plutus-example.hs ghc-options: -threaded -rtsopts -with-rtsopts=-T + + -------------------- + -- Local components + -------------------- + build-depends: plutus-example + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: cardano-api >=1.35 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: - , cardano-api >=1.35 , directory , filepath - , plutus-example executable create-script-context import: common-definitions hs-source-dirs: app main-is: create-script-context.hs ghc-options: -threaded -rtsopts -with-rtsopts=-T + + -------------------- + -- Local components + -------------------- + build-depends: + , cardano-api >=1.35 + , plutus-example + + -------------------------- + -- Other IOG dependencies + -------------------------- + -------------------------- + -- Non-IOG dependencies + -------------------------- build-depends: , bytestring - , cardano-api >=1.35 , optparse-applicative - , plutus-example , transformers test-suite plutus-example-test @@ -116,27 +152,41 @@ test-suite plutus-example-test hs-source-dirs: test main-is: plutus-example-test.hs type: exitcode-stdio-1.0 + + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-example + , plutus-ledger >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , aeson - , base16-bytestring - , bytestring , cardano-api:{cardano-api, gen} >=1.35 , cardano-cli >=1.35 , cardano-ledger-alonzo , cardano-ledger-core , cardano-ledger-shelley , cardano-prelude - , cardano-testnet >=1.35 + , cardano-testnet + , hedgehog-extras + , plutus-ledger-api >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , base16-bytestring + , bytestring , containers , directory , filepath , hedgehog - , hedgehog-extras - , plutus-example - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , tasty - , tasty-hedgehog >=1.2.0.0 + , tasty-hedgehog >=1.2.0.0 , text , unordered-containers diff --git a/plutus-ledger-constraints/plutus-ledger-constraints.cabal b/plutus-ledger-constraints/plutus-ledger-constraints.cabal index bd8d345f5c..713ef10e25 100644 --- a/plutus-ledger-constraints/plutus-ledger-constraints.cabal +++ b/plutus-ledger-constraints/plutus-ledger-constraints.cabal @@ -53,18 +53,31 @@ library Ledger.Constraints.OnChain Ledger.Constraints.TxConstraints + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-ledger >=1.0.0 + , plutus-script-utils >=1.0.0 + + --------------------------- + -- Other IOG dependencies + --------------------------- + build-depends: + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 + , base >=4.9 && <5 , containers , data-default , lens , mtl , openapi3 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , prettyprinter , transformers @@ -74,20 +87,34 @@ test-suite plutus-ledger-constraints-test hs-source-dirs: test default-language: Haskell2010 default-extensions: ImportQualifiedPost + + -------------------- + -- Local components + -------------------- build-depends: - , base >=4.9 && <5 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + , plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , base >=4.9 && <5 , bytestring , containers , data-default , hedgehog , lens , mtl - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 - , plutus-tx-plugin >=1.0.0 , tasty , tasty-hedgehog , template-haskell diff --git a/plutus-ledger/README.md b/plutus-ledger/README.md index 518098065d..818dfb9119 100644 --- a/plutus-ledger/README.md +++ b/plutus-ledger/README.md @@ -1,7 +1,3 @@ ## Wallet API This contains a draft of the Plutus wallet API and an emulator for testing contracts. - -## Tutorial - -See [here](tutorial/Tutorial.md) for a tutorial. \ No newline at end of file diff --git a/plutus-ledger/plutus-ledger.cabal b/plutus-ledger/plutus-ledger.cabal index 3361f09289..6a2f205459 100644 --- a/plutus-ledger/plutus-ledger.cabal +++ b/plutus-ledger/plutus-ledger.cabal @@ -109,12 +109,17 @@ library Codec.CBOR.Extras Ledger.Tx.CardanoAPITemp + -------------------- + -- Local components + -------------------- + build-depends: + , freer-extras >=1.0.0 + , plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , aeson - , array - , base >=4.9 && <5 - , base16-bytestring >=1 - , bytestring , cardano-api:{cardano-api, gen} >=1.35 , cardano-crypto , cardano-crypto-class @@ -125,83 +130,42 @@ library , cardano-ledger-shelley , cardano-ledger-shelley-ma , cardano-slotting - , cborg - , containers - , cryptonite >=0.25 - , data-default - , deepseq - , flat - , freer-extras >=1.0.0 - , hashable - , hedgehog - , http-api-data , iohk-monitoring - , lens - , memory - , mtl - , newtype-generics - , openapi3 , ouroboros-consensus , ouroboros-consensus-shelley , plutus-core >=1.0.0 , plutus-ledger-api >=1.0.0 - , plutus-script-utils >=1.0.0 , plutus-tx >=1.0.0 - , prettyprinter - , scientific - , serialise - , servant - , strict-containers - , tagged - , template-haskell - , text - , time - , time-units - , transformers - -- The rest of the plutus-ledger-api modules are reexported from within - -- the Haskell modules and not in the current cabal file. - -- For example: Plutus.V1.Ledger.Address is reexported by Ledger.Address - other-modules: Ledger.Tx.CardanoAPITemp + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson , array - , base >=4.9 && <5 + , base >=4.9 && <5 + , base16-bytestring , bytestring - , cardano-api:{cardano-api, gen} >=1.35 - , cardano-crypto - , cardano-crypto-class - , cardano-ledger-alonzo - , cardano-ledger-byron - , cardano-ledger-core - , cardano-ledger-shelley - , cardano-ledger-shelley-ma - , cardano-slotting , cborg , containers - , cryptonite >=0.25 + , cryptonite >=0.25 , data-default , deepseq - , freer-extras >=1.0.0 + , flat , hashable , hedgehog , http-api-data - , iohk-monitoring , lens , memory , mtl + , newtype-generics , openapi3 - , ouroboros-consensus - , ouroboros-consensus-shelley - , plutus-core >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , prettyprinter , scientific , serialise , servant , strict-containers + , tagged , template-haskell , text , time @@ -224,18 +188,32 @@ test-suite plutus-ledger-test default-language: Haskell2010 default-extensions: ImportQualifiedPost other-modules: Ledger.Tx.CardanoAPISpec + + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-ledger >=1.0.0 + , plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api:{cardano-api, gen} >=1.35 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 + , base >=4.9 && <5 , bytestring - , cardano-api:{cardano-api, gen} >=1.35 , containers , data-default , hedgehog - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , tasty , tasty-hedgehog , tasty-hunit diff --git a/plutus-pab-executables/plutus-pab-executables.cabal b/plutus-pab-executables/plutus-pab-executables.cabal index 7b3a4ff21f..3c7c1c72b9 100644 --- a/plutus-pab-executables/plutus-pab-executables.cabal +++ b/plutus-pab-executables/plutus-pab-executables.cabal @@ -61,10 +61,17 @@ library , plutus-contract >=1.0.0 , plutus-pab >=1.0.0 + -------------------- + -- Local components + -------------------- + build-depends: playground-common >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: - , base >=4.7 && <5 + , base >=4.7 && <5 , lens - , playground-common >=1.0.0 , purescript-bridge , servant-purescript , text @@ -81,14 +88,26 @@ executable plutus-pab-setup -Wno-missing-import-lists -Wredundant-constraints -O0 -Wunused-packages + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-contract >=1.0.0 + , plutus-pab >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: iohk-monitoring + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 - , iohk-monitoring + , base >=4.9 && <5 , monad-logger , optparse-applicative - , plutus-contract >=1.0.0 - , plutus-pab >=1.0.0 -- TODO: This needs to be moved to plutus-use-cases once plutus-pab doesn't -- depend on plutus-use-cases anymore. @@ -110,22 +129,29 @@ executable plutus-pab-examples -Wno-missing-import-lists -Wredundant-constraints -O0 -Wunused-packages + -------------------- + -- Local components + -------------------- build-depends: - , aeson - , base >=4.9 && <5 - , containers - , data-default - , freer-simple - , lens - , openapi3 , playground-common >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-pab >=1.0.0 , plutus-pab-executables >=1.0.0 , plutus-use-cases >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , base >=4.9 && <5 + , containers + , data-default + , freer-simple + , lens + , openapi3 , prettyprinter , purescript-bridge , row-types @@ -145,17 +171,25 @@ executable plutus-uniswap -Wno-missing-import-lists -Wredundant-constraints -O0 -Wunused-packages + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-pab >=1.0.0 + , plutus-use-cases >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 + , base >=4.9 && <5 , containers , data-default , freer-simple , openapi3 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-use-cases >=1.0.0 , prettyprinter , text @@ -179,16 +213,26 @@ executable plutus-pab-local-cluster -Wno-missing-import-lists -Wredundant-constraints -O0 -Wunused-packages + -------------------- + -- Local components + -------------------- build-depends: , playground-common >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-pab >=1.0.0 , plutus-pab-executables >=1.0.0 , plutus-use-cases >=1.0.0 + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: plutus-ledger-api >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson , base >=4.9 && <5 @@ -216,25 +260,37 @@ executable plutus-pab-test-psgenerator Plutus.PAB.Simulator.Test -- TODO plutus-use-cases dep needs to be removed + -------------------- + -- Local components + -------------------- + build-depends: + , freer-extras >=1.0.0 + , playground-common >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-pab >=1.0.0 + , plutus-use-cases >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: plutus-ledger-api >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson , aeson-pretty - , base >=4.9 && <5 + , base >=4.9 && <5 , bytestring , containers , data-default , filepath - , freer-extras >=1.0.0 , freer-simple , lens , mtl - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-use-cases >=1.0.0 , prettyprinter , purescript-bridge , row-types @@ -261,29 +317,42 @@ test-suite plutus-pab-test-full Plutus.PAB.Simulator.Test -- TODO plutus-use-cases dep needs to be removed + -------------------- + -- Local components + -------------------- build-depends: - , aeson - , async - , base >=4.9 && <5 - , containers - , data-default , freer-extras >=1.0.0 - , freer-simple - , http-client - , iohk-monitoring - , lens - , mtl - , openapi3 , playground-common >=1.0.0 , plutus-chain-index-core >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-pab >=1.0.0 , plutus-pab-executables >=1.0.0 - , plutus-tx >=1.0.0 , plutus-use-cases >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , iohk-monitoring + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , async + , base >=4.9 && <5 + , containers + , data-default + , freer-simple + , http-client + , lens + , mtl + , openapi3 , prettyprinter , purescript-bridge , quickcheck-instances @@ -316,28 +385,41 @@ test-suite plutus-pab-test-full-long-running Plutus.PAB.Simulator.Test -- TODO plutus-use-cases dep needs to be removed + -------------------- + -- Local components + -------------------- build-depends: - , aeson - , async - , base >=4.9 && <5 - , containers - , data-default , freer-extras >=1.0.0 - , freer-simple - , http-client - , iohk-monitoring - , lens - , mtl - , openapi3 , playground-common >=1.0.0 , plutus-chain-index-core >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-pab >=1.0.0 , plutus-pab-executables >=1.0.0 , plutus-use-cases >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , iohk-monitoring + , plutus-ledger-api >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , async + , base >=4.9 && <5 + , containers + , data-default + , freer-simple + , http-client + , lens + , mtl + , openapi3 , prettyprinter , purescript-bridge , row-types @@ -355,8 +437,20 @@ executable tx-inject hs-source-dirs: tx-inject other-modules: TxInject.RandomTx default-language: Haskell2010 + + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-pab >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: - , base >=4.9 && <5 + , base >=4.9 && <5 , clock , containers , data-default @@ -364,9 +458,6 @@ executable tx-inject , lens , mwc-random , optparse-applicative - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-pab >=1.0.0 , pretty-simple , primitive , rate-limit @@ -381,15 +472,29 @@ executable sync-client main-is: Main.hs hs-source-dirs: sync-client default-language: Haskell2010 + + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-chain-index-core >=1.0.0 + , plutus-ledger >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , base >=4.9 && <5 - , cardano-api >=1.35 + , cardano-api >=1.35 , cardano-slotting + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , base >=4.9 && <5 , contra-tracer , either , optparse-applicative - , plutus-chain-index-core >=1.0.0 - , plutus-ledger >=1.0.0 , text executable plutus-pab-nami-demo @@ -398,16 +503,25 @@ executable plutus-pab-nami-demo hs-source-dirs: demo/pab-nami/pab/app other-modules: DemoContract ghc-options: -threaded + + -------------------- + -- Local components + -------------------- build-depends: - , aeson - , base >=4.9 && <5 - , openapi3 , playground-common >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-pab >=1.0.0 , plutus-pab-executables >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , base >=4.9 && <5 + , openapi3 , prettyprinter , purescript-bridge @@ -417,17 +531,26 @@ executable plutus-pab-nami-demo-generator hs-source-dirs: demo/pab-nami/pab/app other-modules: DemoContract ghc-options: -threaded + + -------------------- + -- Local components + -------------------- build-depends: - , aeson - , base >=4.9 && <5 - , openapi3 - , optparse-applicative , playground-common >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-pab >=1.0.0 , plutus-pab-executables >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , base >=4.9 && <5 + , openapi3 + , optparse-applicative , prettyprinter , purescript-bridge @@ -441,22 +564,31 @@ executable pab-cli Types ghc-options: -threaded -Wmissing-import-lists -Wunused-packages + + -------------------- + -- Local components + -------------------- build-depends: , plutus-chain-index-core >=1.0.0 , plutus-ledger >=1.0.0 , plutus-pab >=1.0.0 + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: , cardano-api >=1.35 , cardano-ledger-shelley , ouroboros-consensus-shelley + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson , async - , base >=4.9 && <5 + , base >=4.9 && <5 , bytestring - , cardano-api >=1.35 , data-default , directory , docopt diff --git a/plutus-pab/plutus-pab.cabal b/plutus-pab/plutus-pab.cabal index 22e3d66653..8863d64c47 100644 --- a/plutus-pab/plutus-pab.cabal +++ b/plutus-pab/plutus-pab.cabal @@ -120,6 +120,10 @@ library other-modules: Servant.Extra hs-source-dirs: src + + -------------------- + -- Local components + -------------------- build-depends: , freer-extras >=1.0.0 , playground-common >=1.0.0 @@ -127,21 +131,13 @@ library , plutus-chain-index-core >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 - , plutus-tx-plugin >=1.0.0 + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , aeson - , aeson-pretty - , async - , base >=4.7 && <5 - , beam-core - , beam-migrate - , beam-sqlite - , bytestring , cardano-addresses , cardano-api >=1.35 , cardano-ledger-core @@ -151,6 +147,27 @@ library , cardano-wallet-core , cardano-wallet-core-integration , cardano-wallet-launcher + , iohk-monitoring + , lobemo-backend-ekg + , ouroboros-network + , ouroboros-network-framework + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + , plutus-tx-plugin >=1.0.0 + , Win32-network + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , aeson-pretty + , async + , base >=4.7 && <5 + , beam-core + , beam-migrate + , beam-sqlite + , bytestring , containers , contra-tracer , cryptonite @@ -163,18 +180,14 @@ library , generic-arbitrary , http-client , http-client-tls - , iohk-monitoring , lens - , lobemo-backend-ekg , memory , monad-logger , mtl , network-mux , openapi3 , optparse-applicative - , ouroboros-network - , ouroboros-network-framework - , prettyprinter >=1.1.0.1 + , prettyprinter >=1.1.0.1 , QuickCheck , quickcheck-instances , random @@ -201,7 +214,6 @@ library , wai-cors , warp , websockets - , Win32-network , yaml test-suite plutus-pab-test-light @@ -218,21 +230,34 @@ test-suite plutus-pab-test-light Control.Concurrent.STM.ExtrasSpec Plutus.PAB.ArbitrarySpec + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-pab + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api:{cardano-api, gen} >=1.35 + , plutus-tx >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson , async - , base >=4.9 && <5 + , base >=4.9 && <5 , bytestring - , cardano-api:{cardano-api, gen} >=1.35 , data-default , freer-simple , hedgehog , hedgehog-quickcheck - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-tx >=1.0.0 , QuickCheck , quickcheck-instances , smallcheck diff --git a/plutus-playground-server/plutus-playground-server.cabal b/plutus-playground-server/plutus-playground-server.cabal index a8834f802a..6735f7978c 100644 --- a/plutus-playground-server/plutus-playground-server.cabal +++ b/plutus-playground-server/plutus-playground-server.cabal @@ -64,9 +64,32 @@ library -Wredundant-constraints -fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas + -------------------- + -- Local components + -------------------- + build-depends: + playground-common >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + if !(impl(ghcjs) || os(ghcjs)) + build-depends: plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: aeson - , base >=4.7 && <5 + , base >=4.7 && <5 , bytestring , containers , data-default @@ -79,16 +102,9 @@ library , monad-logger , mtl , newtype-generics - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , regex-compat , row-types - , servant >=0.16 + , servant >=0.16 , servant-client , servant-client-core , servant-server @@ -99,9 +115,6 @@ library , wai-cors , web-ghc - if !(impl(ghcjs) || os(ghcjs)) - build-depends: plutus-tx-plugin >=1.0.0 - library plutus-playground-usecases hs-source-dirs: usecases other-modules: @@ -130,24 +143,22 @@ library plutus-playground-usecases -Wno-missing-signatures -Wno-missing-import-lists -fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas + -------------------- + -- Local components + -------------------- build-depends: - aeson - , base >=4.7 && <5 - , bytestring - , containers - , data-default - , lens - , mtl - , playground-common >=1.0.0 + playground-common >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 - , row-types - , text - , transformers + + -------------------- + -- IOG dependencies + -------------------- + build-depends: + plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 if !(impl(ghcjs) || os(ghcjs)) build-depends: plutus-tx-plugin >=1.0.0 @@ -155,6 +166,21 @@ library plutus-playground-usecases if flag(defer-plugin-errors) ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + aeson + , base >=4.7 && <5 + , bytestring + , containers + , data-default + , lens + , mtl + , row-types + , text + , transformers + executable plutus-playground-server main-is: Main.hs hs-source-dirs: app usecases @@ -187,30 +213,46 @@ executable plutus-playground-server -Wno-missing-import-lists -Wredundant-constraints -O0 -fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas + -------------------- + -- Local components + -------------------- + build-depends: + freer-extras >=1.0.0 + , playground-common >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-playground-server >=1.0.0 + , plutus-playground-usecases >=1.0.0 + , plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + if !(impl(ghcjs) || os(ghcjs)) + build-depends: plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: aeson , aeson-pretty - , base >=4.7 && <5 + , base >=4.7 && <5 , bytestring , containers , data-default , data-default-class , exceptions , filepath - , freer-extras >=1.0.0 , lens , monad-logger , mtl , optparse-applicative - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-playground-server >=1.0.0 - , plutus-playground-usecases >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , purescript-bridge , row-types , servant @@ -222,9 +264,6 @@ executable plutus-playground-server , warp , web-ghc - if !(impl(ghcjs) || os(ghcjs)) - build-depends: plutus-tx-plugin >=1.0.0 - test-suite plutus-playground-server-test type: exitcode-stdio-1.0 main-is: Spec.hs @@ -246,17 +285,25 @@ test-suite plutus-playground-server-test -Wincomplete-record-updates -Wno-missing-import-lists -Wredundant-constraints -fprint-potential-instances + -------------------- + -- Local components + -------------------- build-depends: - aeson - , base >=4.7 && <5 - , bytestring - , mtl - , newtype-generics - , playground-common >=1.0.0 + playground-common >=1.0.0 , plutus-contract >=1.0.0 , plutus-ledger >=1.0.0 , plutus-playground-server >=1.0.0 , plutus-playground-usecases >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + aeson + , base >=4.7 && <5 + , bytestring + , mtl + , newtype-generics , tasty , tasty-hunit , text diff --git a/plutus-script-utils/plutus-script-utils.cabal b/plutus-script-utils/plutus-script-utils.cabal index 3edecd249f..bd4ae540ff 100644 --- a/plutus-script-utils/plutus-script-utils.cabal +++ b/plutus-script-utils/plutus-script-utils.cabal @@ -74,21 +74,25 @@ library Plutus.Script.Utils.V2.Typed.Scripts.StakeValidators Plutus.Script.Utils.V2.Typed.Scripts.Validators + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , aeson >=2 - , base >=4.9 && <5 - , bytestring , cardano-api >=1.35 , cardano-ledger-alonzo - , cborg - , flat - , hashable - , lens - , mtl , plutus-core >=1.0.0 , plutus-ledger-api >=1.0.0 , plutus-tx >=1.0.0 , plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , aeson + , base >=4.9 && <5 + , bytestring + , mtl , prettyprinter , serialise , text @@ -106,6 +110,10 @@ test-suite plutus-ledger-test hs-source-dirs: test default-language: Haskell2010 default-extensions: ImportQualifiedPost + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , base >=4.9 && <5 , tasty diff --git a/plutus-streaming/plutus-streaming.cabal b/plutus-streaming/plutus-streaming.cabal index 971f9b4aed..b5dbcbd7a1 100644 --- a/plutus-streaming/plutus-streaming.cabal +++ b/plutus-streaming/plutus-streaming.cabal @@ -30,11 +30,20 @@ library import: lang hs-source-dirs: src exposed-modules: Plutus.Streaming + + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - , async - , base >=4.9 && <5 , cardano-api >=1.35 , ouroboros-network + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , async + , base >=4.9 && <5 , stm , streaming @@ -46,14 +55,25 @@ executable plutus-streaming-example-1 Common Orphans + -------------------- + -- Local components + -------------------- + build-depends: plutus-streaming + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: cardano-api >=1.35 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 + , base >=4.9 && <5 , base16-bytestring , bytestring - , cardano-api >=1.35 , optparse-applicative - , plutus-streaming , streaming , text @@ -65,16 +85,28 @@ executable plutus-streaming-example-2 Common Orphans + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-ledger >=1.0.0 + , plutus-script-utils >=1.0.0 + , plutus-streaming + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: cardano-api >=1.35 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 + , base >=4.9 && <5 , base16-bytestring , bytestring - , cardano-api >=1.35 , optparse-applicative - , plutus-ledger >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-streaming , streaming executable plutus-streaming-example-3 @@ -85,13 +117,25 @@ executable plutus-streaming-example-3 Common Orphans + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-chain-index-core >=1.0.0 + , plutus-streaming + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: cardano-api >=1.35 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 + , base >=4.9 && <5 , base16-bytestring , bytestring - , cardano-api >=1.35 , optparse-applicative - , plutus-chain-index-core >=1.0.0 - , plutus-streaming , streaming diff --git a/plutus-tx-constraints/plutus-tx-constraints.cabal b/plutus-tx-constraints/plutus-tx-constraints.cabal index 58bbd2f5c2..56e581f4d4 100644 --- a/plutus-tx-constraints/plutus-tx-constraints.cabal +++ b/plutus-tx-constraints/plutus-tx-constraints.cabal @@ -51,18 +51,31 @@ library Ledger.Tx.Constraints Ledger.Tx.Constraints.OffChain + -------------------- + -- Local components + -------------------- + build-depends: + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api >=1.35 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: , aeson - , base >=4.9 && <5 - , cardano-api >=1.35 + , base >=4.9 && <5 , containers , lens , mtl , openapi3 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-tx >=1.0.0 , prettyprinter , transformers @@ -72,21 +85,35 @@ test-suite plutus-tx-constraints-test hs-source-dirs: test default-language: Haskell2010 default-extensions: ImportQualifiedPost + + -------------------- + -- Local components + -------------------- build-depends: - , base >=4.9 && <5 + , plutus-ledger >=1.0.0 + , plutus-script-utils >=1.0.0 + , plutus-tx-constraints >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + , cardano-api >=1.35 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + , plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + , base >=4.9 && <5 , bytestring - , cardano-api >=1.35 , containers , data-default , hedgehog , lens , mtl - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 - , plutus-tx-constraints >=1.0.0 - , plutus-tx-plugin >=1.0.0 , tasty , tasty-hedgehog , template-haskell diff --git a/plutus-use-cases/plutus-use-cases.cabal b/plutus-use-cases/plutus-use-cases.cabal index c3d31923f3..ad6a757076 100644 --- a/plutus-use-cases/plutus-use-cases.cabal +++ b/plutus-use-cases/plutus-use-cases.cabal @@ -87,6 +87,29 @@ library -Wredundant-constraints -Widentities -fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas + -------------------- + -- Local components + -------------------- + build-depends: + playground-common >=1.0.0 + , plutus-chain-index-core >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-core >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-script-utils >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + , plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: aeson , base @@ -96,16 +119,6 @@ library , hashable , lens , openapi3 - , playground-common >=1.0.0 - , plutus-chain-index-core >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-core >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 - , plutus-tx-plugin >=1.0.0 , prettyprinter , semigroups , streaming @@ -162,24 +175,38 @@ test-suite plutus-use-cases-test -rtsopts -fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas + -------------------- + -- Local components + -------------------- build-depends: - playground-common >=1.0.0 + freer-extras >=1.0.0 + , playground-common >=1.0.0 , plutus-contract >=1.0.0 , plutus-contract-certification >=1.0.0 , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 , plutus-ledger-constraints >=1.0.0 , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 , plutus-use-cases >=1.0.0 + -------------------------- + -- Other IOG dependencies + -------------------------- + build-depends: + plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + if !(impl(ghcjs) || os(ghcjs)) + build-depends: plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: base >=4.9 && <5 , bytestring , containers , data-default , foldl - , freer-extras >=1.0.0 , freer-simple , lens , mtl @@ -193,9 +220,6 @@ test-suite plutus-use-cases-test , tasty-quickcheck , text - if !(impl(ghcjs) || os(ghcjs)) - build-depends: plutus-tx-plugin >=1.0.0 - -- runs emulator traces from plutus-use-cases-tests and -- writes all applied validator scripts to a folder executable plutus-use-cases-scripts @@ -233,26 +257,42 @@ executable plutus-use-cases-scripts -rtsopts -fobject-code -fno-ignore-interface-pragmas -fno-omit-interface-pragmas + -------------------- + -- Local components + -------------------- + build-depends: + freer-extras >=1.0.0 + , plutus-contract >=1.0.0 + , plutus-contract-certification >=1.0.0 + , plutus-ledger >=1.0.0 + , plutus-ledger-constraints >=1.0.0 + , plutus-script-utils >=1.0.0 + , plutus-use-cases >=1.0.0 + + -------------------------- + -- Other IOG dependencies + -------------------------- build-depends: - base >=4.9 && <5 + cardano-api >=1.35 + , plutus-ledger-api >=1.0.0 + , plutus-tx >=1.0.0 + + if !(impl(ghcjs) || os(ghcjs)) + build-depends: plutus-tx-plugin >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ + build-depends: + base >=4.9 && <5 , bytestring - , cardano-api >=1.35 , containers , data-default , foldl - , freer-extras >=1.0.0 , freer-simple , lens , mtl , optparse-applicative - , plutus-contract >=1.0.0 - , plutus-contract-certification >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-api >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx >=1.0.0 - , plutus-use-cases >=1.0.0 , prettyprinter , QuickCheck , streaming @@ -261,6 +301,3 @@ executable plutus-use-cases-scripts , tasty-hunit , tasty-quickcheck , text - - if !(impl(ghcjs) || os(ghcjs)) - build-depends: plutus-tx-plugin >=1.0.0 diff --git a/web-ghc/web-ghc.cabal b/web-ghc/web-ghc.cabal index 8493140a1c..bc54178dac 100644 --- a/web-ghc/web-ghc.cabal +++ b/web-ghc/web-ghc.cabal @@ -41,14 +41,21 @@ library -Wincomplete-record-updates -Wno-missing-import-lists -Wredundant-constraints + -------------------- + -- Local components + -------------------- + build-depends: playground-common >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: aeson - , base >=4.7 && <5 + , base >=4.7 && <5 , exceptions , filepath , mtl , newtype-generics - , playground-common >=1.0.0 , servant-client , servant-server , temporary @@ -67,12 +74,19 @@ executable web-ghc-server -Wno-missing-import-lists -Wredundant-constraints -O0 -Wunused-packages + -------------------- + -- Local components + -------------------- + build-depends: playground-common >=1.0.0 + + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: - base >=4.7 && <5 + base >=4.7 && <5 , data-default-class , monad-logger , optparse-applicative - , playground-common >=1.0.0 , prometheus , servant-server , text @@ -95,6 +109,9 @@ test-suite web-ghc-test -Wno-missing-import-lists -Wredundant-constraints -fprint-potential-instances -Wunused-packages + ------------------------ + -- Non-IOG dependencies + ------------------------ build-depends: base >=4.7 && <5 , tasty