2014-11-09 09:44:47 +01:00
|
|
|
{ stdenv, fetchurl, boost, cryptopp }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "i2pd-${version}";
|
2015-02-05 12:08:28 +01:00
|
|
|
version = "0.7.0";
|
2014-11-09 09:44:47 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-11-25 21:15:53 +01:00
|
|
|
url = "https://github.com/PrivacySolutions/i2pd/archive/${version}.tar.gz";
|
2015-02-05 12:08:28 +01:00
|
|
|
sha256 = "1fic1jxdr48b0jfaamwbfkldbfi7awfbrqga2k7gvpncq32v0aj6";
|
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++";
|
|
|
|
licenses = licenses.gpl2;
|
|
|
|
maintainers = with maintainers; [ edwtjo ];
|
|
|
|
platform = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|