diff options
author | Robin Gloster <mail@glob.in> | 2019-08-02 02:58:52 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2019-08-02 03:01:30 +0200 |
commit | 30969073f00a76942792dd24f0dbbf95557643b1 (patch) | |
tree | 9efe7a6f1c9eaa96f45affccb9b6600ff23adade /pkgs/applications/altcoins | |
parent | 3bef4d156daba7a46c1a1ffb44d282a6e271848e (diff) | |
parent | 841e20e583c2ef3abf670d6512afb4a6a81a6269 (diff) |
Merge remote-tracking branch 'upstream/master' into openssl-1.1
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r-- | pkgs/applications/altcoins/jormungandr/default.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/pkgs/applications/altcoins/jormungandr/default.nix b/pkgs/applications/altcoins/jormungandr/default.nix new file mode 100644 index 0000000000000..d58e05184b636 --- /dev/null +++ b/pkgs/applications/altcoins/jormungandr/default.nix @@ -0,0 +1,38 @@ +{ stdenv +, fetchgit +, rustPlatform +, openssl +, pkgconfig +, protobuf +, rustup +}: + +rustPlatform.buildRustPackage rec { + pname = "jormungandr"; + version = "0.3.1"; + + src = fetchgit { + url = "https://github.com/input-output-hk/${pname}"; + rev = "v${version}"; + sha256 = "0ys8sw73c7binxnl79dqi7sxva62bgifbhgyzvvjvmjjdxgq4kfp"; + fetchSubmodules = true; + }; + + cargoSha256 = "0fphjzz78ym15qbka01idnq6vkyf4asrnhrhvxngwc3bifmnj937"; + + nativeBuildInputs = [ pkgconfig protobuf rustup ]; + buildInputs = [ openssl ]; + + PROTOC = "${protobuf}/bin/protoc"; + + # Disabling integration tests + doCheck = false; + + meta = with stdenv.lib; { + description = "An aspiring blockchain node"; + homepage = "https://input-output-hk.github.io/jormungandr/"; + license = licenses.mit; + maintainers = [ maintainers.mmahut ]; + platforms = platforms.all; + }; +} |