1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 23:20:55 +00:00
nixpkgs/pkgs/tools/networking/i2pd/default.nix
2015-11-20 08:28:35 +01:00

29 lines
680 B
Nix

{ stdenv, fetchFromGitHub, boost, zlib, openssl }:
stdenv.mkDerivation rec {
name = pname + "-" + version;
pname = "i2pd";
version = "2.1.0";
src = fetchFromGitHub {
owner = "PurpleI2P";
repo = pname;
rev = version;
sha256 = "06y6pi0wlxpasncm4qq30sh0cavwl2f4gdz0hss70if8mr6z9hyq";
};
buildInputs = [ boost zlib openssl ];
installPhase = ''
install -D i2p $out/bin/i2pd
'';
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;
};
}