-
Notifications
You must be signed in to change notification settings - Fork 86
/
cardano-crypto-wrapper.nix
66 lines (66 loc) · 2.02 KB
/
cardano-crypto-wrapper.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{ system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
{
flags = { development = false; };
package = {
specVersion = "1.10";
identifier = { name = "cardano-crypto-wrapper"; version = "1.3.0"; };
license = "MIT";
copyright = "2019 IOHK";
maintainer = "operations@iohk.io";
author = "IOHK";
homepage = "";
url = "";
synopsis = "Cryptographic primitives used in the Cardano project";
description = "Cryptographic primitives used in the Cardano project";
buildType = "Simple";
};
components = {
"library" = {
depends = [
(hsPkgs.base)
(hsPkgs.aeson)
(hsPkgs.base64-bytestring)
(hsPkgs.base64-bytestring-type)
(hsPkgs.binary)
(hsPkgs.bytestring)
(hsPkgs.canonical-json)
(hsPkgs.cardano-binary)
(hsPkgs.cardano-crypto)
(hsPkgs.cardano-prelude)
(hsPkgs.cryptonite)
(hsPkgs.cryptonite-openssl)
(hsPkgs.data-default)
(hsPkgs.formatting)
(hsPkgs.memory)
(hsPkgs.mtl)
(hsPkgs.text)
];
};
tests = {
"test" = {
depends = [
(hsPkgs.base)
(hsPkgs.bytestring)
(hsPkgs.cardano-binary)
(hsPkgs.cardano-binary-test)
(hsPkgs.cardano-crypto)
(hsPkgs.cardano-crypto-wrapper)
(hsPkgs.cardano-prelude)
(hsPkgs.cardano-prelude-test)
(hsPkgs.cryptonite)
(hsPkgs.formatting)
(hsPkgs.hedgehog)
(hsPkgs.memory)
(hsPkgs.text)
];
};
};
};
} // {
src = (pkgs.lib).mkDefault (pkgs.fetchgit {
url = "https://github.com/input-output-hk/cardano-ledger";
rev = "e8475e33772e7408e83ff22e4406673ea73f93fd";
sha256 = "1pb6fr91g4nmgds71av767hzwfmmkpmp9ldvdkr14v1hv7cqg4kx";
});
postUnpack = "sourceRoot+=/crypto; echo source root reset to \$sourceRoot";
}