aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-11-24 01:53:32 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-11-24 01:53:32 +0100
commit41736006640ab91c4332cb64ac04229efc8d30cc (patch)
tree4668786dc7a8670a6732edbd8bac8ad894a95ec9
parentcecfa2f6ac2943ce0bba5142fa1e531a4d636541 (diff)
downloadNix-41736006640ab91c4332cb64ac04229efc8d30cc.tar.gz
Nix-41736006640ab91c4332cb64ac04229efc8d30cc.tar.zst
Nix-41736006640ab91c4332cb64ac04229efc8d30cc.zip
Add cardano-cli
-rw-r--r--overlays/environments/immae-eu.nix2
-rw-r--r--pkgs/crypto/cardano-cli/default.nix16
-rw-r--r--pkgs/default.nix1
3 files changed, 18 insertions, 1 deletions
diff --git a/overlays/environments/immae-eu.nix b/overlays/environments/immae-eu.nix
index 8a98526..7652010 100644
--- a/overlays/environments/immae-eu.nix
+++ b/overlays/environments/immae-eu.nix
@@ -17,7 +17,7 @@ let
17 boinctui 17 boinctui
18 18
19 # cryptocurrencies 19 # cryptocurrencies
20 cardano sia monero 20 cardano cardano-cli sia monero
21 xmr-stak 21 xmr-stak
22 solc 22 solc
23 iota-cli-app 23 iota-cli-app
diff --git a/pkgs/crypto/cardano-cli/default.nix b/pkgs/crypto/cardano-cli/default.nix
new file mode 100644
index 0000000..4bd18d9
--- /dev/null
+++ b/pkgs/crypto/cardano-cli/default.nix
@@ -0,0 +1,16 @@
1{ rustPlatform, fetchFromGitHub }:
2rustPlatform.buildRustPackage rec {
3 name = "cardano-cli-${version}";
4 version = "master";
5
6 src = fetchFromGitHub {
7 owner = "input-output-hk";
8 repo = "cardano-cli";
9 rev = "ed064d5a3b96c23b52bb20ca49da9cb8764a2e0f";
10 sha256 = "07y5ssar6aq93snrvmapk05zmym4w23ydvjn2njp8saxk23ivqsg";
11 fetchSubmodules = true;
12 };
13
14 cargoSha256 = "1jra0635inm95xp7vg8l7s7ybijcy28956cd6jl8qw2p8bw0z1p3";
15 verifyCargoDeps = true;
16}
diff --git a/pkgs/default.nix b/pkgs/default.nix
index 4949573..07b2700 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -30,6 +30,7 @@ rec {
30 unicodeDoc = callPackage ../pkgs/unicode {}; 30 unicodeDoc = callPackage ../pkgs/unicode {};
31 31
32 cardano = callPackage ../pkgs/crypto/cardano { inherit mylibs; }; 32 cardano = callPackage ../pkgs/crypto/cardano { inherit mylibs; };
33 cardano-cli = callPackage ../pkgs/crypto/cardano-cli {};
33 iota-cli-app = callPackage ../pkgs/crypto/iota-cli-app { inherit mylibs; }; 34 iota-cli-app = callPackage ../pkgs/crypto/iota-cli-app { inherit mylibs; };
34 sia = callPackage ../pkgs/crypto/sia {}; 35 sia = callPackage ../pkgs/crypto/sia {};
35 36