From 41b3a76711bfac7c49abcb2c246eff36a5d40866 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 10 Feb 2018 20:40:57 +0100 Subject: [PATCH] altcoins.dero: init at 0.11.3 --- pkgs/applications/altcoins/default.nix | 2 ++ pkgs/applications/altcoins/dero.nix | 27 ++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 pkgs/applications/altcoins/dero.nix diff --git a/pkgs/applications/altcoins/default.nix b/pkgs/applications/altcoins/default.nix index fd5c6e4f6541..37df75ae110e 100644 --- a/pkgs/applications/altcoins/default.nix +++ b/pkgs/applications/altcoins/default.nix @@ -26,6 +26,8 @@ rec { dashpay = callPackage ./dashpay.nix { }; + dero = callPackage ./dero.nix { }; + dogecoin = callPackage ./dogecoin.nix { withGui = true; }; dogecoind = callPackage ./dogecoin.nix { withGui = false; }; diff --git a/pkgs/applications/altcoins/dero.nix b/pkgs/applications/altcoins/dero.nix new file mode 100644 index 000000000000..f3e24b6c015b --- /dev/null +++ b/pkgs/applications/altcoins/dero.nix @@ -0,0 +1,27 @@ +{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, unbound, openssl, boost +, libunwind, lmdb, miniupnpc, readline }: + +stdenv.mkDerivation rec { + name = "dero-${version}"; + version = "0.11.3"; + + src = fetchFromGitHub { + owner = "deroproject"; + repo = "dero"; + rev = "v${version}"; + sha256 = "0cv4yg2lkmkdhlc3753gnbg1nzldk2kxwdyizwhvanq3ycqban4b"; + }; + + nativeBuildInputs = [ cmake pkgconfig ]; + buildInputs = [ boost miniupnpc openssl lmdb unbound readline ]; + + enableParallelBuilding = true; + + 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; + }; +}