2015-07-07 09:47:22 +02:00
|
|
|
{ stdenv, fetchFromGitHub, boost, cryptopp }:
|
2014-11-09 09:44:47 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
2015-07-07 09:47:22 +02:00
|
|
|
name = pname + "-" + version;
|
|
|
|
pname = "i2pd";
|
|
|
|
version = "0.10.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;
|
|
|
|
sha256 = "11w62rc326rhj2xh06307ngx0fai30qny8ml6n5lrx2y1dzjfxd1";
|
2014-11-09 09:44:47 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ boost cryptopp ];
|
|
|
|
installPhase = ''
|
|
|
|
install -D i2p $out/bin/i2p
|
|
|
|
'';
|
|
|
|
|
|
|
|
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
|
|
|
}
|