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 07:47:22 +00:00
|
|
|
name = pname + "-" + version;
|
|
|
|
pname = "i2pd";
|
2016-03-13 20:31:34 +00:00
|
|
|
version = "2.5.1";
|
2014-11-09 08:44:47 +00:00
|
|
|
|
2015-07-07 07:47:22 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PurpleI2P";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2016-03-13 20:31:34 +00:00
|
|
|
sha256 = "17qf2pbxf05iw2gzyc5bc2zg3a4ns6zf1pm8q9j7nqhchh1rv4cm";
|
2014-11-09 08:44:47 +00:00
|
|
|
};
|
|
|
|
|
2015-11-20 07:27:31 +00:00
|
|
|
buildInputs = [ boost zlib openssl ];
|
2015-11-20 17:58:46 +00:00
|
|
|
makeFlags = "USE_AESNI=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; {
|
|
|
|
homepage = "https://track.privacysolutions.no/projects/i2pd";
|
|
|
|
description = "Minimal I2P router written in C++";
|
2015-04-21 16:05:19 +00:00
|
|
|
license = licenses.gpl2;
|
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
|
|
|
}
|