2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, unbound, openssl, boost
|
2018-07-21 02:44:44 +02:00
|
|
|
, lmdb, miniupnpc, readline }:
|
2018-02-10 20:40:57 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "dero";
|
2020-01-26 04:51:22 +01:00
|
|
|
version = "0.11.7";
|
2018-02-10 20:40:57 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deroproject";
|
|
|
|
repo = "dero";
|
|
|
|
rev = "v${version}";
|
2020-01-26 04:51:22 +01:00
|
|
|
sha256 = "1v8b9wbmqbpyf4jpc0v276qzk3hc5fpddcmwvv5k5yfi30nmbh5c";
|
2018-02-10 20:40:57 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
2018-02-10 20:40:57 +01: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;
|
|
|
|
};
|
|
|
|
}
|