nixpkgs/pkgs/applications/altcoins/dero.nix

28 lines
769 B
Nix
Raw Normal View History

2018-02-10 19:40:57 +00:00
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, unbound, openssl, boost
, libunwind, lmdb, miniupnpc, readline }:
stdenv.mkDerivation rec {
name = "dero-${version}";
2018-03-04 08:21:08 +00:00
version = "0.11.5";
2018-02-10 19:40:57 +00:00
src = fetchFromGitHub {
owner = "deroproject";
repo = "dero";
rev = "v${version}";
2018-03-04 08:21:08 +00:00
sha256 = "1i45z67rkmra968yi89j9mkwv7kdn1hq1761mnl2642pg7v3zvbd";
2018-02-10 19:40:57 +00:00
};
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;
};
}