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

29 lines
671 B
Nix
Raw Normal View History

2015-07-07 07:47:22 +00:00
{ stdenv, fetchFromGitHub, boost, cryptopp }:
2014-11-09 08:44:47 +00:00
stdenv.mkDerivation rec {
2015-07-07 07:47:22 +00:00
name = pname + "-" + version;
pname = "i2pd";
version = "0.10.0";
2014-11-09 08:44:47 +00:00
2015-07-07 07:47:22 +00:00
src = fetchFromGitHub {
owner = "PurpleI2P";
repo = pname;
rev = version;
sha256 = "11w62rc326rhj2xh06307ngx0fai30qny8ml6n5lrx2y1dzjfxd1";
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++";
2015-04-21 16:05:19 +00:00
license = licenses.gpl2;
2014-11-09 08:44:47 +00:00
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.linux;
2014-11-09 08:44:47 +00:00
};
}