2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, git, doxygen, graphviz
|
2020-04-24 23:36:52 +00:00
|
|
|
, boost, miniupnpc, openssl, unbound, cppzmq
|
|
|
|
, zeromq, pcsclite, readline, libsodium
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2022-02-20 05:27:41 +00:00
|
|
|
version = "0.14.1.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "aeon";
|
|
|
|
inherit version;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aeonix";
|
|
|
|
repo = "aeon";
|
|
|
|
rev = "v${version}-aeon";
|
|
|
|
fetchSubmodules = true;
|
2022-02-20 05:27:41 +00:00
|
|
|
sha256 = "sha256-yej4w/2m9YXsMobqHwzA5GBbduhaeTVvmnHUJNWX87E=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ cmake pkg-config git doxygen graphviz ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
boost miniupnpc openssl unbound
|
|
|
|
cppzmq zeromq pcsclite readline libsodium
|
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
"-DBUILD_GUI_DEPS=ON"
|
|
|
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Private, secure, untraceable currency";
|
|
|
|
homepage = "http://www.aeon.cash/";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.aij ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|