From: Ismaƫl Bouya Date: Sun, 24 Nov 2019 00:53:32 +0000 (+0100) Subject: Add cardano-cli X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=d303c5ae3b9e2835a829f835d15eadaaed321f3d;p=perso%2FImmae%2FConfig%2FNix%2FNUR.git Add cardano-cli --- 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 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 index 00000000..4bd18d94 --- /dev/null +++ b/pkgs/crypto/cardano-cli/default.nix @@ -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; +} 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 { 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 {};