2014-11-09 08:44:47 +00:00
|
|
|
{ stdenv, fetchurl, boost, cryptopp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "i2pd-${version}";
|
2014-11-21 10:44:41 +00:00
|
|
|
version = "0.3.0";
|
2014-11-09 08:44:47 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-21 10:44:41 +00:00
|
|
|
url = "https://github.com/PrivacySolutions/i2pd/archive/v${version}-1stbinrelease.tar.gz";
|
|
|
|
sha256 = "015y5v6w1mmzmnylfdc1l3r4qbmax3nywyz0r0pd651xgvvvinrv";
|
2014-11-09 08:44:47 +00: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++";
|
|
|
|
licenses = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
platform = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|