Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, git, doxygen, graphviz 2, boost, miniupnpc, openssl, unbound, cppzmq 3, pcsclite, readline, libsodium 4}: 5 6let 7 version = "0.14.2.2"; 8in 9stdenv.mkDerivation { 10 pname = "aeon"; 11 inherit version; 12 13 src = fetchFromGitHub { 14 owner = "aeonix"; 15 repo = "aeon"; 16 rev = "v${version}-aeon"; 17 fetchSubmodules = true; 18 sha256 = "sha256-2MptLS12CUm9eUKm+V+yYpbLVwNyZeZ5HvAFyjEc4R4="; 19 }; 20 21 nativeBuildInputs = [ cmake pkg-config git doxygen graphviz ]; 22 23 buildInputs = [ 24 boost miniupnpc openssl unbound 25 cppzmq pcsclite readline libsodium 26 ]; 27 28 cmakeFlags = [ 29 "-DCMAKE_BUILD_TYPE=Release" 30 "-DBUILD_GUI_DEPS=ON" 31 "-DReadline_ROOT_DIR=${readline.dev}" 32 ]; 33 34 hardeningDisable = [ "fortify" ]; 35 36 meta = with lib; { 37 description = "Private, secure, untraceable currency"; 38 homepage = "http://www.aeon.cash/"; 39 license = licenses.bsd3; 40 maintainers = [ maintainers.aij ]; 41 platforms = [ "x86_64-linux" ]; 42 }; 43}