]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Add cardano-cli
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 24 Nov 2019 00:53:32 +0000 (01:53 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:04:33 +0000 (00:04 +0200)
overlays/environments/immae-eu.nix
pkgs/crypto/cardano-cli/default.nix [new file with mode: 0644]
pkgs/default.nix

index 8a985263c7a9d4f6e1514852d5474df683bd20f2..7652010cee583eedd81d844c1b76b0d14cdb5820 100644 (file)
@@ -17,7 +17,7 @@ let
     boinctui
 
     # cryptocurrencies
-    cardano sia monero
+    cardano cardano-cli sia monero
     xmr-stak
     solc
     iota-cli-app
diff --git a/pkgs/crypto/cardano-cli/default.nix b/pkgs/crypto/cardano-cli/default.nix
new file mode 100644 (file)
index 0000000..4bd18d9
--- /dev/null
@@ -0,0 +1,16 @@
+{ rustPlatform, fetchFromGitHub }:
+rustPlatform.buildRustPackage rec {
+  name = "cardano-cli-${version}";
+  version = "master";
+
+  src = fetchFromGitHub {
+    owner = "input-output-hk";
+    repo = "cardano-cli";
+    rev = "ed064d5a3b96c23b52bb20ca49da9cb8764a2e0f";
+    sha256 = "07y5ssar6aq93snrvmapk05zmym4w23ydvjn2njp8saxk23ivqsg";
+    fetchSubmodules = true;
+  };
+
+  cargoSha256 = "1jra0635inm95xp7vg8l7s7ybijcy28956cd6jl8qw2p8bw0z1p3";
+  verifyCargoDeps = true;
+}
index 49495730abcef3002d6fb8be0e97813de21f2691..07b27001e79cb27852730988e39f0143dc5fe56b 100644 (file)
@@ -30,6 +30,7 @@ rec {
   unicodeDoc = callPackage ../pkgs/unicode {};
 
   cardano = callPackage ../pkgs/crypto/cardano { inherit mylibs; };
+  cardano-cli = callPackage ../pkgs/crypto/cardano-cli {};
   iota-cli-app = callPackage ../pkgs/crypto/iota-cli-app { inherit mylibs; };
   sia = callPackage ../pkgs/crypto/sia {};