Skip to content

Commit 94e448a

Browse files
committed
Add revisions for cardano-crypto-tests with upper bound for cardano-crypto-class
1 parent ce5bc98 commit 94e448a

File tree

10 files changed

+550
-0
lines changed

10 files changed

+550
-0
lines changed

_sources/cardano-crypto-tests/2.0.0.0.1/meta.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@ timestamp = 2022-10-25T16:40:49Z
22
github = { repo = "input-output-hk/cardano-base", rev = "cc049d7c9b9a0129c15b1355fd1dff9e1a1a551c" }
33
subdir = 'cardano-crypto-tests'
44
force-version = true
5+
6+
[[revisions]]
7+
number = 1
8+
timestamp = 2025-01-29T03:02:57Z
Lines changed: 111 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
cabal-version: 2.2
2+
name: cardano-crypto-tests
3+
version: 2.0.0.0.1
4+
license: Apache-2.0
5+
license-file: LICENSE NOTICE
6+
copyright: 2020-2021 IOHK
7+
maintainer: [email protected]
8+
author: IOHK
9+
synopsis: Tests for cardano-crypto-class and -praos
10+
description: Tests for cardano-crypto-class and -praos
11+
category: Currency
12+
build-type: Simple
13+
extra-source-files: README.md
14+
15+
flag development
16+
description: Disable `-Werror`
17+
default: False
18+
manual: True
19+
20+
flag secp256k1-support
21+
description:
22+
Enable support for functions from libsecp256k1. Requires
23+
a recent libsecp256k1 with support for Schnorr signatures.
24+
25+
manual: True
26+
27+
library
28+
exposed-modules:
29+
Test.Crypto.DSIGN
30+
Test.Crypto.Hash
31+
Test.Crypto.KES
32+
Test.Crypto.Util
33+
Test.Crypto.VRF
34+
Test.Crypto.Regressions
35+
Test.Crypto.Instances
36+
Bench.Crypto.VRF
37+
Bench.Crypto.KES
38+
39+
hs-source-dirs: src
40+
default-language: Haskell2010
41+
ghc-options:
42+
-Wall -Wcompat -Wincomplete-record-updates
43+
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
44+
-Wunused-packages
45+
46+
build-depends:
47+
base >=4.14 && <4.15,
48+
base,
49+
bytestring,
50+
cardano-binary,
51+
cardano-crypto-class <2.2,
52+
cardano-crypto-praos,
53+
cardano-prelude,
54+
cborg,
55+
cryptonite,
56+
formatting,
57+
nothunks,
58+
pretty-show,
59+
QuickCheck,
60+
quickcheck-instances,
61+
tasty,
62+
tasty-hunit,
63+
tasty-quickcheck,
64+
criterion
65+
66+
if !flag(development)
67+
ghc-options: -Werror
68+
69+
if flag(secp256k1-support)
70+
cpp-options: -DSECP256K1_ENABLED
71+
72+
test-suite test-crypto
73+
type: exitcode-stdio-1.0
74+
main-is: Main.hs
75+
hs-source-dirs: test
76+
default-language: Haskell2010
77+
ghc-options:
78+
-Wall -Wcompat -Wincomplete-record-updates
79+
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
80+
-Wunused-packages -threaded -rtsopts -with-rtsopts=-N
81+
82+
build-depends:
83+
base >=4.14 && <4.15,
84+
base,
85+
cardano-crypto-class,
86+
cardano-crypto-tests,
87+
tasty,
88+
tasty-quickcheck
89+
90+
if !flag(development)
91+
ghc-options: -Werror
92+
93+
benchmark bench-crypto
94+
type: exitcode-stdio-1.0
95+
main-is: Main.hs
96+
hs-source-dirs: bench
97+
default-language: Haskell2010
98+
ghc-options:
99+
-Wall -Wcompat -Wincomplete-record-updates
100+
-Wincomplete-uni-patterns -Wpartial-fields -Wredundant-constraints
101+
-Wunused-packages -threaded
102+
103+
build-depends:
104+
base >=4.14 && <4.15,
105+
base,
106+
cardano-crypto-class,
107+
cardano-crypto-tests,
108+
criterion
109+
110+
if !flag(development)
111+
ghc-options: -Werror
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2022-10-17T00:00:00Z
22
github = { repo = "input-output-hk/cardano-base", rev = "4ef911eb7a4d628c938312ff4c92e7c0bb8c83a1" }
33
subdir = 'cardano-crypto-tests'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-01-29T03:02:53Z
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
cabal-version: 2.2
2+
3+
name: cardano-crypto-tests
4+
version: 2.0.0.1
5+
synopsis: Tests for cardano-crypto-class and -praos
6+
description: Tests for cardano-crypto-class and -praos
7+
license: Apache-2.0
8+
license-files:
9+
LICENSE
10+
NOTICE
11+
author: IOHK
12+
maintainer: [email protected]
13+
copyright: 2020-2021 IOHK
14+
category: Currency
15+
build-type: Simple
16+
extra-source-files: README.md
17+
18+
flag development
19+
description: Disable `-Werror`
20+
default: False
21+
manual: True
22+
23+
flag secp256k1-support
24+
description: Enable support for functions from libsecp256k1. Requires
25+
a recent libsecp256k1 with support for Schnorr signatures.
26+
default: True
27+
manual: True
28+
29+
common base { build-depends: base >= 4.14 && < 4.17 }
30+
31+
common project-config
32+
default-language: Haskell2010
33+
34+
ghc-options: -Wall
35+
-Wcompat
36+
-Wincomplete-record-updates
37+
-Wincomplete-uni-patterns
38+
-Wpartial-fields
39+
-Wredundant-constraints
40+
-Wunused-packages
41+
42+
if (!flag(development))
43+
ghc-options: -Werror
44+
45+
library
46+
import: base, project-config
47+
hs-source-dirs: src
48+
49+
exposed-modules: Test.Crypto.DSIGN
50+
Test.Crypto.Hash
51+
Test.Crypto.KES
52+
Test.Crypto.Util
53+
Test.Crypto.VRF
54+
Test.Crypto.Regressions
55+
Test.Crypto.Instances
56+
Bench.Crypto.VRF
57+
Bench.Crypto.KES
58+
59+
build-depends: base
60+
, bytestring
61+
, cardano-binary
62+
, cardano-crypto-class <2.2
63+
, cardano-crypto-praos
64+
, cborg
65+
, cryptonite
66+
, deepseq
67+
, formatting
68+
, nothunks
69+
, pretty-show
70+
, QuickCheck
71+
, quickcheck-instances
72+
, tasty
73+
, tasty-hunit
74+
, tasty-quickcheck
75+
, criterion
76+
77+
if flag(secp256k1-support)
78+
cpp-options: -DSECP256K1_ENABLED
79+
80+
test-suite test-crypto
81+
import: base, project-config
82+
type: exitcode-stdio-1.0
83+
hs-source-dirs: test
84+
main-is: Main.hs
85+
build-depends: base
86+
, cardano-crypto-class
87+
, cardano-crypto-tests
88+
, tasty
89+
, tasty-quickcheck
90+
91+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
92+
93+
benchmark bench-crypto
94+
import: base, project-config
95+
type: exitcode-stdio-1.0
96+
hs-source-dirs: bench
97+
main-is: Main.hs
98+
build-depends: base
99+
, cardano-crypto-class
100+
, cardano-crypto-tests
101+
, criterion
102+
103+
ghc-options: -threaded
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2022-10-17T00:00:00Z
22
github = { repo = "input-output-hk/cardano-base", rev = "0f3a867493059e650cda69e20a5cbf1ace289a57" }
33
subdir = 'cardano-crypto-tests'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-01-29T03:02:51Z
Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
cabal-version: 2.2
2+
3+
name: cardano-crypto-tests
4+
version: 2.0.0
5+
synopsis: Tests for cardano-crypto-class and -praos
6+
description: Tests for cardano-crypto-class and -praos
7+
license: Apache-2.0
8+
license-files:
9+
LICENSE
10+
NOTICE
11+
author: IOHK
12+
maintainer: [email protected]
13+
copyright: 2020-2021 IOHK
14+
category: Currency
15+
build-type: Simple
16+
extra-source-files: README.md
17+
18+
flag development
19+
description: Disable `-Werror`
20+
default: False
21+
manual: True
22+
23+
flag secp256k1-support
24+
description: Enable support for functions from libsecp256k1. Requires
25+
a recent libsecp256k1 with support for Schnorr signatures.
26+
default: True
27+
manual: True
28+
29+
common base { build-depends: base >= 4.14 && < 4.15 }
30+
31+
common project-config
32+
default-language: Haskell2010
33+
34+
ghc-options: -Wall
35+
-Wcompat
36+
-Wincomplete-record-updates
37+
-Wincomplete-uni-patterns
38+
-Wpartial-fields
39+
-Wredundant-constraints
40+
-Wunused-packages
41+
42+
if (!flag(development))
43+
ghc-options: -Werror
44+
45+
library
46+
import: base, project-config
47+
hs-source-dirs: src
48+
49+
exposed-modules: Test.Crypto.DSIGN
50+
Test.Crypto.Hash
51+
Test.Crypto.KES
52+
Test.Crypto.Util
53+
Test.Crypto.VRF
54+
Test.Crypto.Instances
55+
Bench.Crypto.VRF
56+
Bench.Crypto.KES
57+
58+
build-depends: base
59+
, bytestring
60+
, cardano-binary
61+
, cardano-crypto-class <2.2
62+
, cardano-crypto-praos
63+
, cardano-prelude
64+
, cborg
65+
, cryptonite
66+
, formatting
67+
, nothunks
68+
, pretty-show
69+
, QuickCheck
70+
, quickcheck-instances
71+
, tasty
72+
, tasty-quickcheck
73+
, criterion
74+
75+
if flag(secp256k1-support)
76+
build-depends: secp256k1-haskell
77+
cpp-options: -DSECP256K1
78+
79+
test-suite test-crypto
80+
import: base, project-config
81+
type: exitcode-stdio-1.0
82+
hs-source-dirs: test
83+
main-is: Main.hs
84+
build-depends: base
85+
, cardano-crypto-class
86+
, cardano-crypto-tests
87+
, tasty
88+
, tasty-quickcheck
89+
90+
ghc-options: -threaded -rtsopts -with-rtsopts=-N
91+
92+
benchmark bench-crypto
93+
import: base, project-config
94+
type: exitcode-stdio-1.0
95+
hs-source-dirs: bench
96+
main-is: Main.hs
97+
build-depends: base
98+
, cardano-crypto-class
99+
, cardano-crypto-tests
100+
, criterion
101+
102+
ghc-options: -threaded
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
11
timestamp = 2023-02-21T23:26:04Z
22
github = { repo = "input-output-hk/cardano-base", rev = "7e64caa79e0f751f1333ccbce4a64cb48752ae69" }
33
subdir = 'cardano-crypto-tests'
4+
5+
[[revisions]]
6+
number = 1
7+
timestamp = 2025-01-29T03:02:46Z

0 commit comments

Comments
 (0)