1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-29 17:10:48 +00:00
nixpkgs/pkgs/tools/networking/i2pd/default.nix

31 lines
724 B
Nix
Raw Normal View History

{ stdenv, fetchFromGitHub, fetchpatch, boost, zlib, openssl }:
2014-11-09 08:44:47 +00:00
stdenv.mkDerivation rec {
2015-07-07 08:47:22 +01:00
name = pname + "-" + version;
pname = "i2pd";
2016-03-31 21:06:12 +01:00
version = "2.6.0";
2014-11-09 08:44:47 +00:00
2015-07-07 08:47:22 +01:00
src = fetchFromGitHub {
owner = "PurpleI2P";
repo = pname;
rev = version;
2016-03-31 21:06:12 +01:00
sha256 = "0siqg2gf1w85c3j7w6bzjyyjzlxr8z57jk0675gn8yz0xvpkrdys";
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-12-29 08:17:06 +00:00
install -D i2pd $out/bin/i2pd
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 17:05:19 +01: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
};
}