Skip to content

Commit

Permalink
cardano-data: restrict aeson to 2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
disassembler authored and erikd committed Oct 30, 2023
1 parent a19d229 commit d1f67c2
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _sources/cardano-data/1.1.1.0/meta.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
timestamp = 2023-10-25T19:30:47Z
github = { repo = "input-output-hk/cardano-ledger", rev = "f4269490502fc928c13a86e71c059d88cb5ac995" }
subdir = 'libs/cardano-data'

[[revisions]]
number = 1
timestamp = 2023-10-30T04:08:41Z
87 changes: 87 additions & 0 deletions _sources/cardano-data/1.1.1.0/revisions/1.cabal
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
cabal-version: 3.0
name: cardano-data
version: 1.1.1.0
license: Apache-2.0
maintainer: [email protected]
author: IOHK
homepage: https://github.com/input-output-hk/cardano-ledger
synopsis: Specialized data for Cardano project
category: Control
build-type: Simple
extra-source-files: CHANGELOG.md

source-repository head
type: git
location: https://github.com/input-output-hk/cardano-ledger
subdir: libs/cardano-data

library
exposed-modules:
Data.CanonicalMaps
Data.Pulse
Data.MapExtras
Data.ListMap
Data.Universe
Data.OSet.Strict

hs-source-dirs: src
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages

build-depends:
base >=4.14 && <4.19,
aeson ^>= 2.1,
cardano-ledger-binary >=1.2,
cardano-strict-containers >=0.1.2.1,
containers,
deepseq,
mtl,
nothunks,
vector

library testlib
exposed-modules:
Test.Cardano.Data
Test.Cardano.Data.Arbitrary

visibility: public
hs-source-dirs: testlib
default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages

build-depends:
base,
containers,
hspec,
QuickCheck,
cardano-ledger-binary:testlib,
cardano-data

test-suite cardano-data-tests
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
other-modules:
Test.Cardano.Data.MapExtrasSpec
Test.Cardano.Data.OSet.StrictSpec

default-language: Haskell2010
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints -Wunused-packages
-threaded

build-depends:
base,
containers,
hspec,
cardano-data,
cardano-ledger-binary:testlib,
cardano-strict-containers,
testlib,
QuickCheck,
quickcheck-classes-base

0 comments on commit d1f67c2

Please sign in to comment.