1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-02-19 17:39:34 +00:00
nixpkgs/pkgs/tools/networking/i2pd/default.nix

31 lines
719 B
Nix
Raw Normal View History

2018-01-19 20:18:03 +00:00
{ stdenv, fetchFromGitHub, fetchpatch, boost165, 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";
2018-01-19 20:18:03 +00:00
version = "2.17.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;
2018-01-19 20:18:03 +00:00
sha256 = "1yl5h7mls50vkg7x5510mljmgsm02arqhcanwkrqw4ilwvcp1mgz";
2014-11-09 08:44:47 +00:00
};
2018-01-19 20:18:03 +00:00
buildInputs = [ boost165 zlib openssl ];
2017-05-30 15:48:20 +01:00
makeFlags = [ "USE_AESNI=no" "USE_AVX=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://i2pd.website;
2014-11-09 08:44:47 +00:00
description = "Minimal I2P router written in C++";
2017-07-01 01:00:00 +01:00
license = licenses.bsd3;
2014-11-09 08:44:47 +00:00
maintainers = with maintainers; [ edwtjo ];
platforms = platforms.linux;
2014-11-09 08:44:47 +00:00
};
}