Skip to content
This repository was archived by the owner on Aug 1, 2023. It is now read-only.

Commit 46d5008

Browse files
committed
fixup! [DEVOPS-1120] nix-tools autogenerated code + manual fixes
1 parent 9dfd982 commit 46d5008

File tree

7 files changed

+432
-0
lines changed

7 files changed

+432
-0
lines changed

.stack-to-nix.cache

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ http://github.com/nc6/canonical-json a9dc9b893649bc2e2a770ab22d278a780f7e3a3c .
99
https://github.com/input-output-hk/cardano-crypto 3c707936ba0a665375acf5bd240dc4b6eaa6c0bc . 0g8ln8k8wx4csdv92bz09pr7v9dp4lcyv1334b09c9rgwdwhqg1b cardano-crypto .stack.nix/cardano-crypto.nix
1010
https://github.com/input-output-hk/cardano-prelude 7f8544ae9e162b6664f07093227edb148f1c8a5b . 0yywq1m77k2f95pi59pdsk7rq7zlq140d1lsk6gl5qsjrxvyzkb5 cardano-prelude .stack.nix/cardano-prelude.nix
1111
https://github.com/input-output-hk/cardano-prelude 7f8544ae9e162b6664f07093227edb148f1c8a5b test 0yywq1m77k2f95pi59pdsk7rq7zlq140d1lsk6gl5qsjrxvyzkb5 cardano-prelude-test .stack.nix/cardano-prelude-test.nix
12+
https://github.com/input-output-hk/cardano-prelude 2256fd727c5f92e6218afdcf8cddf6e01c4a9dcd . 0fdwlhkpc7inkqflcdzinx9qr5g3i34clzhl6iiagj851c3jcgsn cardano-prelude cardano-prelude.nix
13+
https://github.com/input-output-hk/cardano-prelude 2256fd727c5f92e6218afdcf8cddf6e01c4a9dcd test 0fdwlhkpc7inkqflcdzinx9qr5g3i34clzhl6iiagj851c3jcgsn cardano-prelude-test cardano-prelude-test.nix
14+
https://github.com/input-output-hk/iohk-monitoring-framework 8fb87e83468831289820ef9edb3d5ef912b0db0f contra-tracer 16sxwx8y2wg8kws15ybhk9vkq6crs5bp7ky37x1vrvpvb3ilc5x0 contra-tracer contra-tracer.nix
15+
https://github.com/input-output-hk/iohk-monitoring-framework 8fb87e83468831289820ef9edb3d5ef912b0db0f iohk-monitoring 16sxwx8y2wg8kws15ybhk9vkq6crs5bp7ky37x1vrvpvb3ilc5x0 iohk-monitoring iohk-monitoring.nix
16+
https://github.com/input-output-hk/cardano-sl-x509 71115d199368f1cc969a4936a856808539063253 . 16npjbnwiwvslc6fxamg84q31f0wsl01g9yr3nkmymvnk4lff2g3 cardano-sl-x509 cardano-sl-x509.nix

nix/cardano-prelude-test.nix

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{ system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
2+
{
3+
flags = { development = false; };
4+
package = {
5+
specVersion = "1.10";
6+
identifier = { name = "cardano-prelude-test"; version = "0.1.0.0"; };
7+
license = "MIT";
8+
copyright = "2018 IOHK";
9+
maintainer = "[email protected]";
10+
author = "IOHK";
11+
homepage = "";
12+
url = "";
13+
synopsis = "Utility types and functions for testing Cardano";
14+
description = "Utility types and functions for testing Cardano";
15+
buildType = "Simple";
16+
};
17+
components = {
18+
"library" = {
19+
depends = [
20+
(hsPkgs.base)
21+
(hsPkgs.aeson)
22+
(hsPkgs.aeson-pretty)
23+
(hsPkgs.attoparsec)
24+
(hsPkgs.base16-bytestring)
25+
(hsPkgs.bytestring)
26+
(hsPkgs.canonical-json)
27+
(hsPkgs.cardano-prelude)
28+
(hsPkgs.cryptonite)
29+
(hsPkgs.formatting)
30+
(hsPkgs.hedgehog)
31+
(hsPkgs.hspec)
32+
(hsPkgs.pretty-show)
33+
(hsPkgs.QuickCheck)
34+
(hsPkgs.quickcheck-instances)
35+
(hsPkgs.text)
36+
(hsPkgs.time)
37+
];
38+
};
39+
};
40+
} // {
41+
src = (pkgs.lib).mkDefault (pkgs.fetchgit {
42+
url = "https://github.com/input-output-hk/cardano-prelude";
43+
rev = "2256fd727c5f92e6218afdcf8cddf6e01c4a9dcd";
44+
sha256 = "0fdwlhkpc7inkqflcdzinx9qr5g3i34clzhl6iiagj851c3jcgsn";
45+
});
46+
postUnpack = "sourceRoot+=/test; echo source root reset to \$sourceRoot";
47+
}

nix/cardano-prelude.nix

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{ system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
2+
{
3+
flags = { development = false; };
4+
package = {
5+
specVersion = "1.10";
6+
identifier = { name = "cardano-prelude"; version = "0.1.0.0"; };
7+
license = "MIT";
8+
copyright = "2018 IOHK";
9+
maintainer = "[email protected]";
10+
author = "IOHK";
11+
homepage = "";
12+
url = "";
13+
synopsis = "A Prelude replacement for the Cardano project";
14+
description = "A Prelude replacement for the Cardano project";
15+
buildType = "Simple";
16+
};
17+
components = {
18+
"library" = {
19+
depends = [
20+
(hsPkgs.base)
21+
(hsPkgs.aeson)
22+
(hsPkgs.array)
23+
(hsPkgs.base16-bytestring)
24+
(hsPkgs.bytestring)
25+
(hsPkgs.canonical-json)
26+
(hsPkgs.cborg)
27+
(hsPkgs.containers)
28+
(hsPkgs.formatting)
29+
(hsPkgs.ghc-prim)
30+
(hsPkgs.hashable)
31+
(hsPkgs.integer-gmp)
32+
(hsPkgs.mtl)
33+
(hsPkgs.nonempty-containers)
34+
(hsPkgs.protolude)
35+
(hsPkgs.tagged)
36+
(hsPkgs.text)
37+
(hsPkgs.time)
38+
(hsPkgs.vector)
39+
];
40+
};
41+
};
42+
} // {
43+
src = (pkgs.lib).mkDefault (pkgs.fetchgit {
44+
url = "https://github.com/input-output-hk/cardano-prelude";
45+
rev = "2256fd727c5f92e6218afdcf8cddf6e01c4a9dcd";
46+
sha256 = "0fdwlhkpc7inkqflcdzinx9qr5g3i34clzhl6iiagj851c3jcgsn";
47+
});
48+
}

nix/cardano-shell.nix

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
{ system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
2+
{
3+
flags = {};
4+
package = {
5+
specVersion = "1.10";
6+
identifier = { name = "cardano-shell"; version = "0.1.0.0"; };
7+
license = "MIT";
8+
copyright = "2018 IOHK";
9+
maintainer = "[email protected]";
10+
author = "IOHK";
11+
homepage = "https://github.com/input-output-hk/cardano-shell#readme";
12+
url = "";
13+
synopsis = "";
14+
description = "Please see the README on GitHub at <https://github.com/githubuser/cardano-shell#readme>";
15+
buildType = "Simple";
16+
};
17+
components = {
18+
"library" = {
19+
depends = [
20+
(hsPkgs.aeson)
21+
(hsPkgs.base)
22+
(hsPkgs.binary)
23+
(hsPkgs.bytestring)
24+
(hsPkgs.cardano-prelude)
25+
(hsPkgs.Cabal)
26+
(hsPkgs.concurrency)
27+
(hsPkgs.containers)
28+
(hsPkgs.directory)
29+
(hsPkgs.formatting)
30+
(hsPkgs.iohk-monitoring)
31+
(hsPkgs.safe-exceptions)
32+
(hsPkgs.text)
33+
(hsPkgs.transformers)
34+
(hsPkgs.unix)
35+
(hsPkgs.contravariant)
36+
(hsPkgs.dhall)
37+
(hsPkgs.ekg-core)
38+
(hsPkgs.process)
39+
(hsPkgs.QuickCheck)
40+
(hsPkgs.text)
41+
(hsPkgs.transformers)
42+
(hsPkgs.unix)
43+
];
44+
};
45+
exes = {
46+
"cardano-shell-exe" = {
47+
depends = [
48+
(hsPkgs.base)
49+
(hsPkgs.cardano-shell)
50+
(hsPkgs.cardano-prelude)
51+
(hsPkgs.safe-exceptions)
52+
(hsPkgs.iohk-monitoring)
53+
];
54+
};
55+
"node-ipc" = {
56+
depends = [
57+
(hsPkgs.base)
58+
(hsPkgs.cardano-shell)
59+
(hsPkgs.cardano-prelude)
60+
];
61+
};
62+
"cardano-launcher" = {
63+
depends = [
64+
(hsPkgs.base)
65+
(hsPkgs.cardano-shell)
66+
(hsPkgs.cardano-prelude)
67+
(hsPkgs.cardano-sl-x509)
68+
(hsPkgs.process)
69+
(hsPkgs.unix)
70+
(hsPkgs.directory)
71+
(hsPkgs.filepath)
72+
(hsPkgs.formatting)
73+
(hsPkgs.safe-exceptions)
74+
];
75+
};
76+
};
77+
tests = {
78+
"cardano-shell-test" = {
79+
depends = [
80+
(hsPkgs.aeson)
81+
(hsPkgs.base)
82+
(hsPkgs.cardano-shell)
83+
(hsPkgs.cardano-prelude)
84+
(hsPkgs.dhall)
85+
(hsPkgs.safe-exceptions)
86+
(hsPkgs.QuickCheck)
87+
(hsPkgs.hspec)
88+
(hsPkgs.hspec-contrib)
89+
(hsPkgs.concurrency)
90+
(hsPkgs.dejafu)
91+
(hsPkgs.hunit-dejafu)
92+
];
93+
};
94+
};
95+
};
96+
} // rec { src = (pkgs.lib).mkDefault .././.; }

nix/cardano-sl-x509.nix

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{ system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
2+
{
3+
flags = {};
4+
package = {
5+
specVersion = "1.10";
6+
identifier = { name = "cardano-sl-x509"; version = "3.0.0"; };
7+
license = "MIT";
8+
copyright = "2018 IOHK";
9+
maintainer = "[email protected]";
10+
author = "IOHK Engineering Team";
11+
homepage = "https://github.com/input-output-hk/cardano-sl/x509/README.md";
12+
url = "";
13+
synopsis = "Tool-suite for generating x509 certificates specialized for RSA with SHA-256";
14+
description = "See README";
15+
buildType = "Simple";
16+
};
17+
components = {
18+
"library" = {
19+
depends = [
20+
(hsPkgs.base)
21+
(hsPkgs.aeson)
22+
(hsPkgs.asn1-encoding)
23+
(hsPkgs.asn1-types)
24+
(hsPkgs.base64-bytestring)
25+
(hsPkgs.bytestring)
26+
(hsPkgs.cryptonite)
27+
(hsPkgs.data-default-class)
28+
(hsPkgs.directory)
29+
(hsPkgs.filepath)
30+
(hsPkgs.hourglass)
31+
(hsPkgs.ip)
32+
(hsPkgs.universum)
33+
(hsPkgs.unordered-containers)
34+
(hsPkgs.x509)
35+
(hsPkgs.x509-store)
36+
(hsPkgs.x509-validation)
37+
(hsPkgs.yaml)
38+
];
39+
};
40+
tests = {
41+
"cardano-sl-x509-test" = {
42+
depends = [
43+
(hsPkgs.base)
44+
(hsPkgs.QuickCheck)
45+
(hsPkgs.cardano-sl-x509)
46+
(hsPkgs.universum)
47+
(hsPkgs.hedgehog)
48+
];
49+
};
50+
};
51+
};
52+
} // {
53+
src = (pkgs.lib).mkDefault (pkgs.fetchgit {
54+
url = "https://github.com/input-output-hk/cardano-sl-x509";
55+
rev = "71115d199368f1cc969a4936a856808539063253";
56+
sha256 = "16npjbnwiwvslc6fxamg84q31f0wsl01g9yr3nkmymvnk4lff2g3";
57+
});
58+
}

nix/contra-tracer.nix

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{ system, compiler, flags, pkgs, hsPkgs, pkgconfPkgs, ... }:
2+
{
3+
flags = {};
4+
package = {
5+
specVersion = "1.10";
6+
identifier = { name = "contra-tracer"; version = "0.1.0.0"; };
7+
license = "MIT";
8+
copyright = "2019 IOHK";
9+
maintainer = "[email protected]";
10+
author = "Neil Davies, Alexander Diemand, Andreas Triantafyllos";
11+
homepage = "";
12+
url = "";
13+
synopsis = "A simple interface for logging, tracing or monitoring.";
14+
description = "";
15+
buildType = "Simple";
16+
};
17+
components = {
18+
"library" = {
19+
depends = [
20+
(hsPkgs.base)
21+
] ++ (pkgs.lib).optional (compiler.isGhc && (compiler.version).lt "8.5") (hsPkgs.contravariant);
22+
};
23+
tests = {
24+
"tests" = {
25+
depends = [
26+
(hsPkgs.base)
27+
(hsPkgs.contra-tracer)
28+
(hsPkgs.QuickCheck)
29+
(hsPkgs.tasty)
30+
(hsPkgs.tasty-hunit)
31+
(hsPkgs.tasty-quickcheck)
32+
];
33+
};
34+
};
35+
};
36+
} // {
37+
src = (pkgs.lib).mkDefault (pkgs.fetchgit {
38+
url = "https://github.com/input-output-hk/iohk-monitoring-framework";
39+
rev = "8fb87e83468831289820ef9edb3d5ef912b0db0f";
40+
sha256 = "16sxwx8y2wg8kws15ybhk9vkq6crs5bp7ky37x1vrvpvb3ilc5x0";
41+
});
42+
postUnpack = "sourceRoot+=/contra-tracer; echo source root reset to \$sourceRoot";
43+
}

0 commit comments

Comments
 (0)