1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/altcoins/aeon/default.nix

43 lines
1,007 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, cmake, pkgconfig, git, doxygen, graphviz
, boost, miniupnpc, openssl, unbound, cppzmq
2018-11-19 02:35:43 +00:00
, zeromq, pcsclite, readline, libsodium
}:
2017-12-22 21:08:31 +00:00
let
2018-12-02 05:49:22 +00:00
version = "0.12.8.0";
2017-12-22 21:08:31 +00:00
in
stdenv.mkDerivation {
name = "aeon-${version}";
src = fetchFromGitHub {
owner = "aeonix";
repo = "aeon";
2018-11-19 02:35:43 +00:00
rev = "v${version}-aeon";
fetchSubmodules = true;
2018-12-02 05:49:22 +00:00
sha256 = "1qmlz820mjs0b60d7i90lxcwwxmsdy6swq67v6n8mbb79zmcx8ii";
2017-12-22 21:08:31 +00:00
};
nativeBuildInputs = [ cmake pkgconfig git doxygen graphviz ];
2017-12-22 21:08:31 +00:00
buildInputs = [
boost miniupnpc openssl unbound
2018-11-19 02:35:43 +00:00
cppzmq zeromq pcsclite readline libsodium
];
2017-12-22 21:08:31 +00:00
cmakeFlags = [
"-DCMAKE_BUILD_TYPE=Release"
"-DBUILD_GUI_DEPS=ON"
"-DReadline_ROOT_DIR=${readline.dev}"
];
hardeningDisable = [ "fortify" ];
2017-12-22 21:08:31 +00:00
meta = with stdenv.lib; {
description = "Private, secure, untraceable currency";
homepage = http://www.aeon.cash/;
license = licenses.bsd3;
maintainers = [ maintainers.aij ];
platforms = [ "x86_64-linux" ];
};
}