nixpkgs/pkgs/applications/blockchains/dero.nix

28 lines
748 B
Nix
Raw Normal View History

2018-02-10 22:40:57 +03:00
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, unbound, openssl, boost
, lmdb, miniupnpc, readline }:
2018-02-10 22:40:57 +03:00
stdenv.mkDerivation rec {
pname = "dero";
2020-01-26 06:51:22 +03:00
version = "0.11.7";
2018-02-10 22:40:57 +03:00
src = fetchFromGitHub {
owner = "deroproject";
repo = "dero";
rev = "v${version}";
2020-01-26 06:51:22 +03:00
sha256 = "1v8b9wbmqbpyf4jpc0v276qzk3hc5fpddcmwvv5k5yfi30nmbh5c";
2018-02-10 22:40:57 +03: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;
};
}