nixpkgs/pkgs/applications/altcoins/aeon/default.nix
2018-12-05 12:21:29 +08:00

43 lines
1007 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig, git, doxygen, graphviz
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline, libsodium
}:
let
version = "0.12.8.0";
in
stdenv.mkDerivation {
name = "aeon-${version}";
src = fetchFromGitHub {
owner = "aeonix";
repo = "aeon";
rev = "v${version}-aeon";
fetchSubmodules = true;
sha256 = "1qmlz820mjs0b60d7i90lxcwwxmsdy6swq67v6n8mbb79zmcx8ii";
};
nativeBuildInputs = [ cmake pkgconfig git doxygen graphviz ];
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" ];
meta = with stdenv.lib; {
description = "Private, secure, untraceable currency";
homepage = http://www.aeon.cash/;
license = licenses.bsd3;
maintainers = [ maintainers.aij ];
platforms = [ "x86_64-linux" ];
};
}