summaryrefslogtreecommitdiff
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>2020-04-25 00:04:33 +0200
commitd303c5ae3b9e2835a829f835d15eadaaed321f3d (patch)
treef9cec5f80fe41ac601faf598196fb3194ea13775
parent4e1d3c0f7d929a246448cee4b9dec5d33d0b775e (diff)
downloadNUR-d303c5ae3b9e2835a829f835d15eadaaed321f3d.tar.gz
NUR-d303c5ae3b9e2835a829f835d15eadaaed321f3d.tar.zst
NUR-d303c5ae3b9e2835a829f835d15eadaaed321f3d.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 8a985263..7652010c 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 00000000..4bd18d94
--- /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 49495730..07b27001 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