nixpkgs/pkgs/tools/networking/i2pd/default.nix

27 lines
687 B
Nix
Raw Normal View History

2014-11-09 08:44:47 +00:00
{ stdenv, fetchurl, boost, cryptopp }:
stdenv.mkDerivation rec {
name = "i2pd-${version}";
2015-04-01 14:35:03 +00:00
version = "0.9.0";
2014-11-09 08:44:47 +00:00
src = fetchurl {
2015-02-23 19:00:54 +00:00
name = "i2pd-src-${version}.tar.gz";
2015-02-05 19:21:09 +00:00
url = "https://github.com/PurpleI2P/i2pd/archive/${version}.tar.gz";
2015-04-01 14:35:03 +00:00
sha256 = "1rcf4wc34g2alva9jzj6bz0f88g2f5v1w4418b6lp6chvqi7fhc7";
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 ];
platforms = platforms.linux;
2014-11-09 08:44:47 +00:00
};
}