2018-05-26 18:29:22 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, git, doxygen, graphviz
|
|
|
|
, boost, miniupnpc, openssl, unbound, cppzmq
|
2018-11-19 02:35:43 +00:00
|
|
|
, zeromq, pcsclite, readline, libsodium
|
2018-05-26 18:29:22 +00:00
|
|
|
}:
|
2017-12-22 21:08:31 +00:00
|
|
|
|
|
|
|
let
|
2019-11-03 11:49:28 +00:00
|
|
|
version = "0.13.0.0";
|
2017-12-22 21:08:31 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 21:52:01 +00:00
|
|
|
pname = "aeon";
|
|
|
|
inherit version;
|
2017-12-22 21:08:31 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aeonix";
|
|
|
|
repo = "aeon";
|
2018-11-19 02:35:43 +00:00
|
|
|
rev = "v${version}-aeon";
|
2018-05-26 18:29:22 +00:00
|
|
|
fetchSubmodules = true;
|
2019-11-03 11:49:28 +00:00
|
|
|
sha256 = "07d87n1j4dc9gfwj6xy5jdpryn45095xdh961g6xjnjzc5fivjch";
|
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
|
2018-11-19 02:35:43 +00:00
|
|
|
cppzmq zeromq pcsclite readline libsodium
|
2018-05-26 18:29:22 +00:00
|
|
|
];
|
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";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.aeon.cash/";
|
2017-12-22 21:08:31 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.aij ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|