2015-11-22 19:35:11 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, boost, zlib, openssl }:
|
2014-11-09 08:44:47 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2015-07-07 08:47:22 +01:00
|
|
|
name = pname + "-" + version;
|
|
|
|
pname = "i2pd";
|
2017-09-12 09:13:49 +01:00
|
|
|
version = "2.15.0";
|
2014-11-09 08:44:47 +00:00
|
|
|
|
2015-07-07 08:47:22 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PurpleI2P";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2017-09-12 09:13:49 +01:00
|
|
|
sha256 = "02nyk76q2ag0495ph62i0jij27nxpy6qvryjp25wah8f69k7bgfs";
|
2014-11-09 08:44:47 +00:00
|
|
|
};
|
|
|
|
|
2015-11-20 07:27:31 +00:00
|
|
|
buildInputs = [ boost zlib openssl ];
|
2017-05-30 15:48:20 +01:00
|
|
|
makeFlags = [ "USE_AESNI=no" "USE_AVX=no" ];
|
2015-11-22 19:35:11 +00:00
|
|
|
|
2014-11-09 08:44:47 +00:00
|
|
|
installPhase = ''
|
2015-12-29 08:17:06 +00:00
|
|
|
install -D i2pd $out/bin/i2pd
|
2014-11-09 08:44:47 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://i2pd.website;
|
2014-11-09 08:44:47 +00:00
|
|
|
description = "Minimal I2P router written in C++";
|
2017-07-01 01:00:00 +01:00
|
|
|
license = licenses.bsd3;
|
2014-11-09 08:44:47 +00:00
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
2015-03-20 15:52:02 +00:00
|
|
|
platforms = platforms.linux;
|
2014-11-09 08:44:47 +00:00
|
|
|
};
|
2015-03-20 15:52:02 +00:00
|
|
|
}
|