1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-05-01 09:27:01 +00:00

Merge pull request #41384 from aij/aeon-0.12.0.0

altcoins.aeon: 0.9.14.0 -> 0.12.0.0
This commit is contained in:
adisbladis 2018-06-02 14:09:20 +08:00 committed by GitHub
commit 6d42f137e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,10 @@
{ stdenv, fetchFromGitHub, cmake, boost, miniupnpc, openssl, pkgconfig, unbound }: { stdenv, fetchFromGitHub, cmake, pkgconfig, git, doxygen, graphviz
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline
}:
let let
version = "0.9.14.0"; version = "0.12.0.0";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
name = "aeon-${version}"; name = "aeon-${version}";
@ -10,19 +13,24 @@ stdenv.mkDerivation {
owner = "aeonix"; owner = "aeonix";
repo = "aeon"; repo = "aeon";
rev = "v${version}"; rev = "v${version}";
sha256 = "0pl9nfhihj0wsdgvvpv5f14k4m2ikk8s3xw6nd8ymbnpxfzyxynr"; fetchSubmodules = true;
sha256 = "1schzlscslhqq7zcd68b1smqlaf7k789x1rwpplm7qi5iz9a8cfr";
}; };
nativeBuildInputs = [ cmake pkgconfig ]; nativeBuildInputs = [ cmake pkgconfig git doxygen graphviz ];
buildInputs = [ boost miniupnpc openssl unbound ]; buildInputs = [
boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline
];
installPhase = '' cmakeFlags = [
install -D src/aeond "$out/bin/aeond" "-DCMAKE_BUILD_TYPE=Release"
install src/simpleminer "$out/bin/aeon-simpleminer" "-DBUILD_GUI_DEPS=ON"
install src/simplewallet "$out/bin/aeon-simplewallet" "-DReadline_ROOT_DIR=${readline.dev}"
install src/connectivity_tool "$out/bin/aeon-connectivity-tool" ];
'';
hardeningDisable = [ "fortify" ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Private, secure, untraceable currency"; description = "Private, secure, untraceable currency";