Skip to content

Commit 796682c

Browse files
committed
Apply fourmolu
1 parent dc0141b commit 796682c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+7703
-6659
lines changed

src/base/convex-base.cabal

Lines changed: 89 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
cabal-version: 3.4
22
name: convex-base
33
version: 0.3.0.0
4-
synopsis: Base classes and types for working with cardano-api transactions
5-
license: Apache-2.0
6-
license-files:
7-
LICENSE
4+
synopsis:
5+
Base classes and types for working with cardano-api transactions
86

7+
license: Apache-2.0
8+
license-files: LICENSE
99
maintainer: j-mueller@users.noreply.github.com
1010
author: Jann Müller
1111
homepage: https://github.com/j-mueller/sc-tools
@@ -16,95 +16,104 @@ description:
1616
build-type: Simple
1717

1818
common lang
19-
default-language: Haskell2010
20-
default-extensions: ExplicitForAll ScopedTypeVariables MultiParamTypeClasses
21-
DeriveGeneric StandaloneDeriving DeriveLift FlexibleContexts
22-
GeneralizedNewtypeDeriving DeriveFunctor DeriveFoldable
23-
DeriveTraversable ImportQualifiedPost NumericUnderscores
24-
ghc-options: -Wall -Wnoncanonical-monad-instances -Wunused-packages
25-
-Wincomplete-uni-patterns -Wincomplete-record-updates
26-
-Wredundant-constraints -Widentities
19+
default-language: Haskell2010
20+
default-extensions:
21+
DeriveFoldable
22+
DeriveFunctor
23+
DeriveGeneric
24+
DeriveLift
25+
DeriveTraversable
26+
ExplicitForAll
27+
FlexibleContexts
28+
GeneralizedNewtypeDeriving
29+
ImportQualifiedPost
30+
MultiParamTypeClasses
31+
NumericUnderscores
32+
ScopedTypeVariables
33+
StandaloneDeriving
2734

28-
library
29-
import: lang
30-
exposed-modules:
31-
Convex.BuildTx
32-
Convex.Class
33-
Convex.Constants
34-
Convex.Eon
35-
Convex.MonadLog
36-
Convex.NodeQueries
37-
Convex.NodeQueries.Debug
38-
Convex.NodeParams
39-
Convex.PlutusLedger.V1
40-
Convex.PlutusLedger.V3
41-
Convex.PlutusTx
42-
Convex.Utils
43-
Convex.Utxos
44-
hs-source-dirs: lib
45-
build-depends:
46-
base >= 4.14 && < 4.20,
47-
lens,
48-
containers,
49-
aeson,
50-
mtl,
51-
katip,
52-
prettyprinter,
53-
transformers,
54-
text,
55-
exceptions,
56-
time,
57-
either-result,
58-
primitive,
59-
QuickCheck
60-
61-
build-depends:
62-
convex-optics,
35+
ghc-options:
36+
-Wall -Wnoncanonical-monad-instances -Wunused-packages
37+
-Wincomplete-uni-patterns -Wincomplete-record-updates
38+
-Wredundant-constraints -Widentities
6339

64-
cardano-api == 10.1.0.0,
65-
cardano-ledger-core,
66-
cardano-crypto-wrapper,
40+
library
41+
import: lang
42+
exposed-modules:
43+
Convex.BuildTx
44+
Convex.Class
45+
Convex.Constants
46+
Convex.Eon
47+
Convex.MonadLog
48+
Convex.NodeParams
49+
Convex.NodeQueries
50+
Convex.NodeQueries.Debug
51+
Convex.PlutusLedger.V1
52+
Convex.PlutusLedger.V3
53+
Convex.PlutusTx
54+
Convex.Utils
55+
Convex.Utxos
6756

68-
cardano-ledger-byron,
69-
cardano-ledger-mary,
70-
cardano-ledger-shelley,
71-
cardano-ledger-babbage,
72-
cardano-ledger-alonzo,
73-
cardano-ledger-conway,
57+
hs-source-dirs: lib
58+
build-depends:
59+
, aeson
60+
, base >=4.14 && <4.20
61+
, containers
62+
, either-result
63+
, exceptions
64+
, katip
65+
, lens
66+
, mtl
67+
, prettyprinter
68+
, primitive
69+
, QuickCheck
70+
, text
71+
, time
72+
, transformers
7473

75-
ouroboros-consensus,
76-
ouroboros-consensus-cardano,
77-
ouroboros-network-protocols,
78-
cardano-slotting,
79-
plutus-tx,
80-
plutus-ledger-api,
81-
serialise,
82-
bytestring,
83-
dlist,
84-
either-result,
85-
strict-sop-core
74+
build-depends:
75+
, bytestring
76+
, cardano-api ==10.1.0.0
77+
, cardano-crypto-wrapper
78+
, cardano-ledger-alonzo
79+
, cardano-ledger-babbage
80+
, cardano-ledger-byron
81+
, cardano-ledger-conway
82+
, cardano-ledger-core
83+
, cardano-ledger-mary
84+
, cardano-ledger-shelley
85+
, cardano-slotting
86+
, convex-optics
87+
, dlist
88+
, either-result
89+
, ouroboros-consensus
90+
, ouroboros-consensus-cardano
91+
, ouroboros-network-protocols
92+
, plutus-ledger-api
93+
, plutus-tx
94+
, serialise
95+
, strict-sop-core
8696

8797
test-suite convex-base-test
88-
import: lang
89-
type: exitcode-stdio-1.0
98+
import: lang
99+
type: exitcode-stdio-1.0
90100
hs-source-dirs: test
91-
main-is:
92-
Spec.hs
93-
other-modules:
94-
Convex.PlutusLedgerSpec
95-
build-tool-depends:
96-
tasty-discover:tasty-discover
101+
main-is: Spec.hs
102+
other-modules: Convex.PlutusLedgerSpec
103+
build-tool-depends: tasty-discover:tasty-discover
104+
97105
-- Local dependencies
98-
build-depends:
99-
, convex-base
106+
build-depends: convex-base
107+
100108
-- CHaP dependencies
101109
build-depends:
102110
, cardano-api
103111
, cardano-api:gen
112+
104113
-- Hackage dependencies
105114
build-depends:
106-
, base >= 4.14.0
115+
, base >=4.14.0
116+
, hedgehog-quickcheck
117+
, QuickCheck
107118
, tasty
108119
, tasty-quickcheck
109-
, QuickCheck
110-
, hedgehog-quickcheck

0 commit comments

Comments
 (0)