i2pd: enable on all unix platforms, enable parallel build
This commit is contained in:
parent
04250bb2fb
commit
4ba0b201a5
1 changed files with 4 additions and 1 deletions
|
@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = with lib; [ boost zlib openssl ]
|
buildInputs = with lib; [ boost zlib openssl ]
|
||||||
++ optional upnpSupport miniupnpc;
|
++ optional upnpSupport miniupnpc;
|
||||||
|
|
||||||
makeFlags =
|
makeFlags =
|
||||||
let ynf = a: b: a + "=" + (if b then "yes" else "no"); in
|
let ynf = a: b: a + "=" + (if b then "yes" else "no"); in
|
||||||
[ (ynf "USE_AESNI" aesniSupport)
|
[ (ynf "USE_AESNI" aesniSupport)
|
||||||
|
@ -27,6 +28,8 @@ stdenv.mkDerivation rec {
|
||||||
(ynf "USE_UPNP" upnpSupport)
|
(ynf "USE_UPNP" upnpSupport)
|
||||||
];
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
install -D i2pd $out/bin/i2pd
|
install -D i2pd $out/bin/i2pd
|
||||||
'';
|
'';
|
||||||
|
@ -36,6 +39,6 @@ stdenv.mkDerivation rec {
|
||||||
description = "Minimal I2P router written in C++";
|
description = "Minimal I2P router written in C++";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
maintainers = with maintainers; [ edwtjo ];
|
maintainers = with maintainers; [ edwtjo ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue