diff options
author | Frederik Rietdijk <fridh@fridh.nl> | 2019-08-01 09:42:54 +0200 |
---|---|---|
committer | Frederik Rietdijk <fridh@fridh.nl> | 2019-08-01 09:42:54 +0200 |
commit | 55e4555b77ff7506579c1d4f5d9b562ca6e853b4 (patch) | |
tree | adbc42e629ea3441456eb5e5e4e0b3a7fa2d867a /pkgs/applications/altcoins | |
parent | f498a8b7af41401c167baa6879a8b0271e8ffbf5 (diff) | |
parent | ff13b6f1acceac062e66a2b0f39a59bcb5570a87 (diff) | |
download | nixpkgs-55e4555b77ff7506579c1d4f5d9b562ca6e853b4.tar nixpkgs-55e4555b77ff7506579c1d4f5d9b562ca6e853b4.tar.gz nixpkgs-55e4555b77ff7506579c1d4f5d9b562ca6e853b4.tar.bz2 nixpkgs-55e4555b77ff7506579c1d4f5d9b562ca6e853b4.tar.lz nixpkgs-55e4555b77ff7506579c1d4f5d9b562ca6e853b4.tar.xz nixpkgs-55e4555b77ff7506579c1d4f5d9b562ca6e853b4.tar.zst nixpkgs-55e4555b77ff7506579c1d4f5d9b562ca6e853b4.zip |
Merge master into staging-next
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 00000000000..d58e05184b6 --- /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; + }; +} |