/
ouroboros-consensus-shelley.nix
102 lines (102 loc) · 4.45 KB
/
ouroboros-consensus-shelley.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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{ system
, compiler
, flags
, pkgs
, hsPkgs
, pkgconfPkgs
, errorHandler
, config
, ... }:
{
flags = { asserts = false; };
package = {
specVersion = "1.10";
identifier = {
name = "ouroboros-consensus-shelley";
version = "0.1.0.0";
};
license = "Apache-2.0";
copyright = "2019 Input Output (Hong Kong) Ltd.";
maintainer = "operations@iohk.io";
author = "IOHK Engineering Team";
homepage = "";
url = "";
synopsis = "Shelley ledger integration in the Ouroboros consensus layer";
description = "";
buildType = "Simple";
isLocal = true;
detailLevel = "FullDetails";
licenseFiles = [ "LICENSE" "NOTICE" ];
dataDir = ".";
dataFiles = [];
extraSrcFiles = [];
extraTmpFiles = [];
extraDocFiles = [];
};
components = {
"library" = {
depends = [
(hsPkgs."base" or (errorHandler.buildDepError "base"))
(hsPkgs."base-deriving-via" or (errorHandler.buildDepError "base-deriving-via"))
(hsPkgs."bytestring" or (errorHandler.buildDepError "bytestring"))
(hsPkgs."cardano-binary" or (errorHandler.buildDepError "cardano-binary"))
(hsPkgs."cardano-crypto-class" or (errorHandler.buildDepError "cardano-crypto-class"))
(hsPkgs."cardano-ledger-core" or (errorHandler.buildDepError "cardano-ledger-core"))
(hsPkgs."cardano-protocol-tpraos" or (errorHandler.buildDepError "cardano-protocol-tpraos"))
(hsPkgs."cardano-slotting" or (errorHandler.buildDepError "cardano-slotting"))
(hsPkgs."cborg" or (errorHandler.buildDepError "cborg"))
(hsPkgs."containers" or (errorHandler.buildDepError "containers"))
(hsPkgs."data-default-class" or (errorHandler.buildDepError "data-default-class"))
(hsPkgs."measures" or (errorHandler.buildDepError "measures"))
(hsPkgs."mtl" or (errorHandler.buildDepError "mtl"))
(hsPkgs."nothunks" or (errorHandler.buildDepError "nothunks"))
(hsPkgs."orphans-deriving-via" or (errorHandler.buildDepError "orphans-deriving-via"))
(hsPkgs."serialise" or (errorHandler.buildDepError "serialise"))
(hsPkgs."strict-containers" or (errorHandler.buildDepError "strict-containers"))
(hsPkgs."text" or (errorHandler.buildDepError "text"))
(hsPkgs."transformers" or (errorHandler.buildDepError "transformers"))
(hsPkgs."cardano-ledger-alonzo" or (errorHandler.buildDepError "cardano-ledger-alonzo"))
(hsPkgs."cardano-ledger-shelley-ma" or (errorHandler.buildDepError "cardano-ledger-shelley-ma"))
(hsPkgs."shelley-spec-ledger" or (errorHandler.buildDepError "shelley-spec-ledger"))
(hsPkgs."small-steps" or (errorHandler.buildDepError "small-steps"))
(hsPkgs."ouroboros-network" or (errorHandler.buildDepError "ouroboros-network"))
(hsPkgs."ouroboros-consensus" or (errorHandler.buildDepError "ouroboros-consensus"))
];
buildable = true;
modules = [
"Ouroboros/Consensus/Shelley/Eras"
"Ouroboros/Consensus/Shelley/Ledger"
"Ouroboros/Consensus/Shelley/Ledger/Block"
"Ouroboros/Consensus/Shelley/Ledger/Config"
"Ouroboros/Consensus/Shelley/Ledger/Forge"
"Ouroboros/Consensus/Shelley/Ledger/Inspect"
"Ouroboros/Consensus/Shelley/Ledger/Integrity"
"Ouroboros/Consensus/Shelley/Ledger/Ledger"
"Ouroboros/Consensus/Shelley/Ledger/Mempool"
"Ouroboros/Consensus/Shelley/Ledger/NetworkProtocolVersion"
"Ouroboros/Consensus/Shelley/Ledger/Query"
"Ouroboros/Consensus/Shelley/Ledger/PeerSelection"
"Ouroboros/Consensus/Shelley/Ledger/TPraos"
"Ouroboros/Consensus/Shelley/Node"
"Ouroboros/Consensus/Shelley/Node/Serialisation"
"Ouroboros/Consensus/Shelley/Protocol"
"Ouroboros/Consensus/Shelley/Protocol/HotKey"
"Ouroboros/Consensus/Shelley/Protocol/Util"
"Ouroboros/Consensus/Shelley/ShelleyBased"
"Ouroboros/Consensus/Shelley/ShelleyHFC"
];
hsSourceDirs = [ "src" ];
};
};
} // {
src = (pkgs.lib).mkDefault (pkgs.fetchgit {
url = "8";
rev = "minimal";
sha256 = "";
}) // {
url = "8";
rev = "minimal";
sha256 = "";
};
postUnpack = "sourceRoot+=/ouroboros-consensus-shelley; echo source root reset to \$sourceRoot";
}