summary refs log tree commit diff
path: root/pkgs/applications/blockchains/dero/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/blockchains/dero/default.nix')
-rw-r--r--pkgs/applications/blockchains/dero/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/applications/blockchains/dero/default.nix b/pkgs/applications/blockchains/dero/default.nix
new file mode 100644
index 00000000000..6b15cbd0a16
--- /dev/null
+++ b/pkgs/applications/blockchains/dero/default.nix
@@ -0,0 +1,25 @@
+{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, unbound, openssl, boost
+, lmdb, miniupnpc, readline }:
+
+stdenv.mkDerivation rec {
+  pname = "dero";
+  version = "0.11.7";
+
+  src = fetchFromGitHub {
+    owner = "deroproject";
+    repo = "dero";
+    rev = "v${version}";
+    sha256 = "1v8b9wbmqbpyf4jpc0v276qzk3hc5fpddcmwvv5k5yfi30nmbh5c";
+  };
+
+  nativeBuildInputs = [ cmake pkg-config ];
+  buildInputs = [ boost miniupnpc openssl lmdb unbound readline ];
+
+  meta = with lib; {
+    description = "Secure, private blockchain with smart contracts based on Monero";
+    homepage = "https://dero.io/";
+    license = licenses.bsd3;
+    maintainers = with maintainers; [ fpletz ];
+    platforms = platforms.linux;
+  };
+}