i2pd: added package, service

This commit is contained in:
Edward Tjörnhammar
2014-11-09 09:55:35 +01:00
parent 08f66013ae
commit c329e5bbd9
5 changed files with 229 additions and 1 deletions
+25
View File
@@ -0,0 +1,25 @@
{ stdenv, fetchurl, boost, cryptopp }:
stdenv.mkDerivation rec {
name = "i2pd-${version}";
version = "0.2.0";
src = fetchurl {
url = "https://github.com/PrivacySolutions/i2pd/archive/${version}.tar.gz";
sha256 = "0jr7svnwxiaxlxa3a8vcb8n6iy66ahwwx7glcwf2x57xssq27ily";
};
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;
};
}