2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, unbound, openssl, boost
|
2020-04-24 23:36:52 +00:00
|
|
|
, lmdb, miniupnpc, readline }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "dero";
|
|
|
|
version = "0.11.7";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deroproject";
|
|
|
|
repo = "dero";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1v8b9wbmqbpyf4jpc0v276qzk3hc5fpddcmwvv5k5yfi30nmbh5c";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|