nixpkgs/pkgs/applications/altcoins/aeon/default.nix
Ivan Jager d866a4fdcd altcoins.aeon: 0.9.14.0 -> 0.12.0.0
Aeon was rebased onto a recent version of monero, so
aeon/default.nix now more closely matches monero/default.nix.
2018-06-01 22:33:57 -05:00

43 lines
981 B
Nix

{ stdenv, fetchFromGitHub, cmake, pkgconfig, git, doxygen, graphviz
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline
}:
let
version = "0.12.0.0";
in
stdenv.mkDerivation {
name = "aeon-${version}";
src = fetchFromGitHub {
owner = "aeonix";
repo = "aeon";
rev = "v${version}";
fetchSubmodules = true;
sha256 = "1schzlscslhqq7zcd68b1smqlaf7k789x1rwpplm7qi5iz9a8cfr";
};
nativeBuildInputs = [ cmake pkgconfig git doxygen graphviz ];
buildInputs = [
boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline
];
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" ];
};
}