2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, git, doxygen, graphviz
|
2018-05-26 20:29:22 +02:00
|
|
|
, boost, miniupnpc, openssl, unbound, cppzmq
|
2018-11-19 03:35:43 +01:00
|
|
|
, zeromq, pcsclite, readline, libsodium
|
2018-05-26 20:29:22 +02:00
|
|
|
}:
|
2017-12-22 22:08:31 +01:00
|
|
|
|
|
|
|
let
|
2022-02-19 21:38:42 +01:00
|
|
|
version = "0.14.1.0";
|
2017-12-22 22:08:31 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation {
|
2019-08-13 23:52:01 +02:00
|
|
|
pname = "aeon";
|
|
|
|
inherit version;
|
2017-12-22 22:08:31 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "aeonix";
|
|
|
|
repo = "aeon";
|
2018-11-19 03:35:43 +01:00
|
|
|
rev = "v${version}-aeon";
|
2018-05-26 20:29:22 +02:00
|
|
|
fetchSubmodules = true;
|
2022-02-19 21:38:42 +01:00
|
|
|
sha256 = "sha256-yej4w/2m9YXsMobqHwzA5GBbduhaeTVvmnHUJNWX87E=";
|
2017-12-22 22:08:31 +01:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ cmake pkg-config git doxygen graphviz ];
|
2017-12-22 22:08:31 +01:00
|
|
|
|
2018-05-26 20:29:22 +02:00
|
|
|
buildInputs = [
|
|
|
|
boost miniupnpc openssl unbound
|
2018-11-19 03:35:43 +01:00
|
|
|
cppzmq zeromq pcsclite readline libsodium
|
2018-05-26 20:29:22 +02:00
|
|
|
];
|
2017-12-22 22:08:31 +01:00
|
|
|
|
2018-05-26 20:29:22 +02:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_BUILD_TYPE=Release"
|
|
|
|
"-DBUILD_GUI_DEPS=ON"
|
|
|
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "fortify" ];
|
2017-12-22 22:08:31 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2017-12-22 22:08:31 +01:00
|
|
|
description = "Private, secure, untraceable currency";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "http://www.aeon.cash/";
|
2017-12-22 22:08:31 +01:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.aij ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|