2018-05-26 18:29:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, git, doxygen, graphviz
|
|
|
|
, boost, miniupnpc, openssl, unbound, cppzmq
|
|
|
|
, zeromq, pcsclite, readline
|
|
|
|
}:
|
2017-12-22 21:08:31 +00:00
|
|
|
|
|
|
|
let
|
2018-05-26 18:29:22 +00:00
|
|
|
version = "0.12.0.0";
|
2017-12-22 21:08:31 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "aeon-${version}";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aeonix";
|
|
|
|
repo = "aeon";
|
|
|
|
rev = "v${version}";
|
2018-05-26 18:29:22 +00:00
|
|
|
fetchSubmodules = true;
|
|
|
|
sha256 = "1schzlscslhqq7zcd68b1smqlaf7k789x1rwpplm7qi5iz9a8cfr";
|
2017-12-22 21:08:31 +00:00
|
|
|
};
|
|
|
|
|
2018-05-26 18:29:22 +00:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig git doxygen graphviz ];
|
2017-12-22 21:08:31 +00:00
|
|
|
|
2018-05-26 18:29:22 +00:00
|
|
|
buildInputs = [
|
|
|
|
boost miniupnpc openssl unbound
|
|
|
|
cppzmq zeromq pcsclite readline
|
|
|
|
];
|
2017-12-22 21:08:31 +00:00
|
|
|
|
2018-05-26 18:29:22 +00:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
"-DBUILD_GUI_DEPS=ON"
|
|
|
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "fortify" ];
|
2017-12-22 21:08:31 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Private, secure, untraceable currency";
|
|
|
|
homepage = http://www.aeon.cash/;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.aij ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|