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

30 lines
709 B
Nix
Raw Normal View History

2015-11-20 07:27:31 +00:00
{ stdenv, fetchFromGitHub, boost, zlib, openssl }:
2014-11-09 08:44:47 +00:00
stdenv.mkDerivation rec {
2015-07-07 07:47:22 +00:00
name = pname + "-" + version;
pname = "i2pd";
2015-11-20 07:27:31 +00:00
version = "2.1.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;
2015-11-20 07:27:31 +00:00
sha256 = "06y6pi0wlxpasncm4qq30sh0cavwl2f4gdz0hss70if8mr6z9hyq";
2014-11-09 08:44:47 +00:00
};
2015-11-20 07:27:31 +00:00
buildInputs = [ boost zlib openssl ];
makeFlags = "USE_AESNI=no";
2014-11-09 08:44:47 +00:00
installPhase = ''
2015-11-20 07:43:59 +00:00
install -D i2p $out/bin/i2p
2014-11-09 08:44:47 +00:00
'';
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
};
}