about summary refs log tree commit diff
path: root/pkgs/applications/altcoins
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2019-08-01 09:44:06 +0200
committerFrederik Rietdijk <fridh@fridh.nl>2019-08-01 09:44:06 +0200
commit4ca8e53e1ddb2f2f1e5520be33654c33481faae0 (patch)
tree94896f54f338cc97a1e43adf3dcbdff15d5a512c /pkgs/applications/altcoins
parent59ac7e16347e2e841e24d3dd959b9fc5dab5fdc8 (diff)
parent55e4555b77ff7506579c1d4f5d9b562ca6e853b4 (diff)
Merge staging-next into staging
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r--pkgs/applications/altcoins/jormungandr/default.nix38
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;
+  };
+}