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
|
2023-04-12 12:48:02 +00:00
|
|
|
, pcsclite, readline, libsodium
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
2022-09-09 14:08:57 +00:00
|
|
|
version = "0.14.2.2";
|
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-09-09 14:08:57 +00:00
|
|
|
sha256 = "sha256-2MptLS12CUm9eUKm+V+yYpbLVwNyZeZ5HvAFyjEc4R4=";
|
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
|
2023-04-12 12:48:02 +00:00
|
|
|
cppzmq pcsclite readline libsodium
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
cmakeFlags = [
|
|
|
|
"-DBUILD_GUI_DEPS=ON"
|
|
|
|
"-DReadline_ROOT_DIR=${readline.dev}"
|
|
|
|
];
|
|
|
|
|
|
|
|
hardeningDisable = [ "fortify" ];
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2024-02-29 20:09:43 +00:00
|
|
|
# Does not build against gcc-13. No development activity upstream
|
|
|
|
# for past few years.
|
|
|
|
broken = true;
|
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" ];
|
|
|
|
};
|
|
|
|
}
|