Skip to content

Commit

Permalink
Format all cabal files
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Jun 15, 2023
1 parent 2e0840b commit 12e15b6
Show file tree
Hide file tree
Showing 22 changed files with 1,525 additions and 1,556 deletions.
62 changes: 32 additions & 30 deletions async-components/async-components.cabal
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
cabal-version: 3.0
name: async-components
version: 0.1.0.0
synopsis:
Async components for building concurrent server processes.
bug-reports: https://github.com/input-output-hk/marlowe-cardano/issues
license: Apache-2.0
author: Jamie Bertram
maintainer: jamie.bertram@iohk.io
stability: experimental
category: Language
name: async-components
version: 0.1.0.0
synopsis: Async components for building concurrent server processes.
bug-reports: https://github.com/input-output-hk/marlowe-cardano/issues
license: Apache-2.0
author: Jamie Bertram
maintainer: jamie.bertram@iohk.io
stability: experimental
category: Language
license-files:
LICENSE
NOTICE

source-repository head
type: git
type: git
location: https://github.com/input-output-hk/marlowe-cardano
subdir: async-components
subdir: async-components

library
default-language: Haskell2010
hs-source-dirs: src
default-language: Haskell2010
hs-source-dirs: src
default-extensions:
BlockArguments
DeriveAnyClass
Expand All @@ -40,30 +39,33 @@ library
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TupleSections
TypeApplications

ghc-options:
-Wall -Wnoncanonical-monad-instances -Wunused-packages
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities

exposed-modules:
Control.Concurrent.Component
Control.Concurrent.Component.Probes
Control.Concurrent.Component.Run

build-depends:
, base >= 4.9 && < 5
, co-log >= 0.5.0.0 && < 0.6.0.0
, eventuo11y ^>= { 0.9, 0.10 }
, base >=4.9 && <5
, co-log >=0.5.0.0 && <0.6.0.0
, eventuo11y >=0.9 && <0.11
, eventuo11y-extras ==0.1.0.0
, eventuo11y-otel ^>= 0.1
, exceptions >= 0.10 && < 0.11
, general-allocate ^>= { 0.2 }
, hs-opentelemetry-api >= 0.0.3 && < 0.0.4
, hs-opentelemetry-sdk >= 0.0.3 && < 0.0.4
, mtl >= 2.2 && < 3
, servant >= 0.19 && < 0.20
, servant-client >= 0.19 && < 0.20
, servant-server >= 0.19 && < 0.20
, transformers >= 0.5.6 && < 0.6
, unliftio >= 0.2.1 && < 0.3
, warp >= 3.3 && < 4
, eventuo11y-otel ^>=0.1
, exceptions ^>=0.10
, general-allocate ^>=0.2
, hs-opentelemetry-api >=0.0.3 && <0.0.4
, hs-opentelemetry-sdk >=0.0.3 && <0.0.4
, mtl >=2.2 && <3
, servant ^>=0.19
, servant-client ^>=0.19
, servant-server ^>=0.19
, transformers ^>=0.5.6
, unliftio ^>=0.2.1
, warp >=3.3 && <4
47 changes: 23 additions & 24 deletions cardano-integration/cardano-integration.cabal
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
cabal-version: 3.0
name: cardano-integration
version: 0.1.0.0
synopsis:
Run integration tests in the context of a Cardano network
bug-reports: https://github.com/input-output-hk/marlowe-cardano/issues
license: Apache-2.0
author: Jamie Bertram
maintainer: jamie.bertram@iohk.io
stability: experimental
category: Language
name: cardano-integration
version: 0.1.0.0
synopsis: Run integration tests in the context of a Cardano network
bug-reports: https://github.com/input-output-hk/marlowe-cardano/issues
license: Apache-2.0
author: Jamie Bertram
maintainer: jamie.bertram@iohk.io
stability: experimental
category: Language
license-files:
LICENSE
NOTICE

source-repository head
type: git
type: git
location: https://github.com/input-output-hk/marlowe-cardano
subdir: cardano-integration
subdir: cardano-integration

library
default-language: Haskell2010
hs-source-dirs: src
default-language: Haskell2010
hs-source-dirs: src
default-extensions:
BlockArguments
DeriveAnyClass
Expand All @@ -40,21 +39,24 @@ library
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TupleSections
TypeApplications

ghc-options:
-Wall -Wnoncanonical-monad-instances -Wunused-packages
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities

exposed-modules:
Test.Integration.Cardano
Test.Integration.Cardano.Local
Test.Integration.Cardano.Process
Test.Integration.Workspace

build-depends:
base >= 4.9 && < 5
, aeson
, async
, base >=4.9 && <5
, bytestring
, directory
, filepath
Expand All @@ -73,13 +75,10 @@ library
, yaml

executable create-testnet
hs-source-dirs: create-testnet
main-is: Main.hs
other-modules:
Paths_cardano_integration
autogen-modules:
Paths_cardano_integration
hs-source-dirs: create-testnet
main-is: Main.hs
other-modules: Paths_cardano_integration
autogen-modules: Paths_cardano_integration
build-depends:
base >= 4.9 && < 5
, base >=4.9 && <5
, cardano-integration

52 changes: 27 additions & 25 deletions eventuo11y-extras/eventuo11y-extras.cabal
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
cabal-version: 3.0
name: eventuo11y-extras
version: 0.1.0.0
synopsis:
O11y helpers for Malowe Runtime and other Marlowe processes
bug-reports: https://github.com/input-output-hk/marlowe-cardano/issues
license: Apache-2.0
author: Jamie Bertram
maintainer: jamie.bertram@iohk.io
stability: experimental
category: Language
name: eventuo11y-extras
version: 0.1.0.0
synopsis: O11y helpers for Malowe Runtime and other Marlowe processes
bug-reports: https://github.com/input-output-hk/marlowe-cardano/issues
license: Apache-2.0
author: Jamie Bertram
maintainer: jamie.bertram@iohk.io
stability: experimental
category: Language
license-files:
LICENSE
NOTICE

source-repository head
type: git
type: git
location: https://github.com/input-output-hk/marlowe-cardano
subdir: eventuo11y-extras
subdir: eventuo11y-extras

library
default-language: Haskell2010
hs-source-dirs: src
default-language: Haskell2010
hs-source-dirs: src
default-extensions:
BlockArguments
DeriveAnyClass
Expand All @@ -40,23 +39,26 @@ library
RecordWildCards
ScopedTypeVariables
StandaloneDeriving
TypeApplications
TupleSections
TypeApplications

ghc-options:
-Wall -Wnoncanonical-monad-instances -Wunused-packages
-Wincomplete-uni-patterns -Wincomplete-record-updates
-Wredundant-constraints -Widentities

exposed-modules:
Control.Monad.Event.Class
Observe.Event.Backend.Extra

build-depends:
, base >= 4.9 && < 5
, eventuo11y ^>= { 0.9, 0.10 }
, exceptions >= 0.10 && < 0.11
, general-allocate ^>= { 0.2 }
, resourcet >= 1.3 && < 2
, some >= 1 && < 2
, stm >= 2.5 && < 2.6
, time >= 1.9 && < 2
, transformers >= 0.5.6 && < 0.6
, unliftio >= 0.2.1 && < 0.3
, base >=4.9 && <5
, eventuo11y >=0.9 && <0.11
, exceptions ^>=0.10
, general-allocate ^>=0.2
, resourcet >=1.3 && <2
, some >=1 && <2
, stm ^>=2.5
, time >=1.9 && <2
, transformers ^>=0.5.6
, unliftio ^>=0.2.1
27 changes: 13 additions & 14 deletions libs/aeson-via-serialise/aeson-via-serialise.cabal
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
cabal-version: 2.4
name: aeson-via-serialise
version: 0.1.0.0
cabal-version: 2.4
name: aeson-via-serialise
version: 0.1.0.0

library
exposed-modules:
Data.Aeson.ViaSerialise
exposed-modules: Data.Aeson.ViaSerialise
build-depends:
, aeson
, base >=4.9 && <5
, base16-aeson
, bytestring
, cborg
, serialise

build-depends:
, aeson
, base >=4.9 && <5
, base16-aeson
, bytestring
, cborg
, serialise
hs-source-dirs: src
default-language: Haskell2010
hs-source-dirs: src
default-language: Haskell2010
28 changes: 13 additions & 15 deletions libs/base16-aeson/base16-aeson.cabal
Original file line number Diff line number Diff line change
@@ -1,18 +1,16 @@
cabal-version: 2.4
name: base16-aeson
version: 0.1.0.0
cabal-version: 2.4
name: base16-aeson
version: 0.1.0.0

library
exposed-modules: Data.ByteString.Base16.Aeson

build-depends:
, aeson >= 2 && < 3
, base16 >= 0.3.2 && < 0.4
, base >=4.9 && <5
, bytestring >= 0.10.12 && < 0.12
, text >= 1.2.4 && < 2
hs-source-dirs: src
default-language: Haskell2010
default-extensions:
ImportQualifiedPost
exposed-modules: Data.ByteString.Base16.Aeson
build-depends:
, aeson >=2 && <3
, base >=4.9 && <5
, base16 ^>=0.3.2
, bytestring >=0.10.12 && <0.12
, text >=1.2.4 && <2

hs-source-dirs: src
default-language: Haskell2010
default-extensions: ImportQualifiedPost
35 changes: 16 additions & 19 deletions libs/plutus-ledger-ada/plutus-ledger-ada.cabal
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
cabal-version: 3.0
name: plutus-ledger-ada
version: 1.0.0
license: Apache-2.0

author: Michael Peyton Jones, Jann Mueller
build-type: Simple
cabal-version: 3.0
name: plutus-ledger-ada
version: 1.0.0
license: Apache-2.0
author: Michael Peyton Jones, Jann Mueller
build-type: Simple

common lang
default-language: Haskell2010
Expand Down Expand Up @@ -38,30 +37,29 @@ flag defer-plugin-errors
manual: True

library
import: lang
hs-source-dirs: src
default-language: Haskell2010
exposed-modules:
Plutus.V1.Ledger.Ada
import: lang
hs-source-dirs: src
default-language: Haskell2010
exposed-modules: Plutus.V1.Ledger.Ada

--------------------------
-- Other IOG dependencies
--------------------------
build-depends:
, plutus-core >=1.0.0
, plutus-ledger-api >=1.0.0
, plutus-tx >=1.0.0
, plutus-core >=1.0.0
, 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
, cborg
, containers
, cryptonite >=0.25
, cryptonite >=0.25
, flat
, hashable
, hedgehog
Expand All @@ -76,8 +74,7 @@ library
, time
, transformers

ghc-options: -fprint-potential-instances
ghc-options: -fprint-potential-instances

if flag(defer-plugin-errors)
ghc-options: -fplugin-opt PlutusTx.Plugin:defer-errors

Loading

0 comments on commit 12e15b6

Please sign in to comment.