nixpkgs-suyu/pkgs/tools/networking/i2pd/default.nix
2015-07-07 09:47:22 +02:00

28 lines
671 B
Nix

{ stdenv, fetchFromGitHub, boost, cryptopp }:
stdenv.mkDerivation rec {
name = pname + "-" + version;
pname = "i2pd";
version = "0.10.0";
src = fetchFromGitHub {
owner = "PurpleI2P";
repo = pname;
rev = version;
sha256 = "11w62rc326rhj2xh06307ngx0fai30qny8ml6n5lrx2y1dzjfxd1";
};
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++";
license = licenses.gpl2;
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.linux;
};
}