2018-02-10 19:40:57 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkgconfig, unbound, openssl, boost
|
2018-07-21 00:44:44 +00:00
|
|
|
, lmdb, miniupnpc, readline }:
|
2018-02-10 19:40:57 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "dero-${version}";
|
2018-03-05 11:45:02 +00:00
|
|
|
version = "0.11.6";
|
2018-02-10 19:40:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deroproject";
|
|
|
|
repo = "dero";
|
|
|
|
rev = "v${version}";
|
2018-03-05 11:45:02 +00:00
|
|
|
sha256 = "0jc5rh2ra4wra04dwv9sydid5ij5930s38mhzq3qkdjyza1ahmsr";
|
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;
|
|
|
|
};
|
|
|
|
}
|