2015-11-22 20:35:11 +01:00
|
|
|
{ stdenv, fetchFromGitHub, fetchpatch, boost, zlib, openssl }:
|
2014-11-09 09:44:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2015-07-07 09:47:22 +02:00
|
|
|
name = pname + "-" + version;
|
|
|
|
pname = "i2pd";
|
2016-02-12 06:59:55 +01:00
|
|
|
version = "2.4.0";
|
2014-11-09 09:44:47 +01:00
|
|
|
|
2015-07-07 09:47:22 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "PurpleI2P";
|
|
|
|
repo = pname;
|
|
|
|
rev = version;
|
2016-02-12 06:59:55 +01:00
|
|
|
sha256 = "1nkf3dplvyg2lgygd3jd4bqh5s4nm6ppyks3a05a1dcbwm8ws42y";
|
2014-11-09 09:44:47 +01:00
|
|
|
};
|
|
|
|
|
2015-11-20 08:27:31 +01:00
|
|
|
buildInputs = [ boost zlib openssl ];
|
2015-11-20 18:58:46 +01:00
|
|
|
makeFlags = "USE_AESNI=no";
|
2015-11-22 20:35:11 +01:00
|
|
|
|
2014-11-09 09:44:47 +01:00
|
|
|
installPhase = ''
|
2015-12-29 09:17:06 +01:00
|
|
|
install -D i2pd $out/bin/i2pd
|
2014-11-09 09:44:47 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = "https://track.privacysolutions.no/projects/i2pd";
|
|
|
|
description = "Minimal I2P router written in C++";
|
2015-04-21 18:05:19 +02:00
|
|
|
license = licenses.gpl2;
|
2014-11-09 09:44:47 +01:00
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
2015-03-20 16:52:02 +01:00
|
|
|
platforms = platforms.linux;
|
2014-11-09 09:44:47 +01:00
|
|
|
};
|
2015-03-20 16:52:02 +01:00
|
|
|
}
|