summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavol Rusnak <pavol@rusnak.io>2022-11-23 10:10:36 +0100
committerGitHub <noreply@github.com>2022-11-23 10:10:36 +0100
commit61514f23061b09d235610ef7cfa0de630df1d0d8 (patch)
treecb51a4a5ed0c6ae83c372883088658b3361810e7
parentMerge #202023: staging-next-22.05 - iteration 15 (diff)
parenti2pd: 2.43.0 -> 2.44.0 (diff)
downloadnixpkgs-61514f23061b09d235610ef7cfa0de630df1d0d8.tar.gz
Merge pull request #202393 from prusnak/i2pd-22.05
[backport 22.05] i2pd: 2.41.0 -> 2.44.0
-rw-r--r--pkgs/tools/networking/i2pd/default.nix12
1 files changed, 5 insertions, 7 deletions
diff --git a/pkgs/tools/networking/i2pd/default.nix b/pkgs/tools/networking/i2pd/default.nix
index 01328f66a4d8..353aea94a894 100644
--- a/pkgs/tools/networking/i2pd/default.nix
+++ b/pkgs/tools/networking/i2pd/default.nix
@@ -1,26 +1,24 @@
{ lib, stdenv, fetchFromGitHub
, installShellFiles
, boost, zlib, openssl
-, upnpSupport ? true, miniupnpc ? null
+, upnpSupport ? true, miniupnpc
, aesniSupport ? stdenv.hostPlatform.aesSupport
, avxSupport ? stdenv.hostPlatform.avxSupport
}:
-assert upnpSupport -> miniupnpc != null;
-
stdenv.mkDerivation rec {
pname = "i2pd";
- version = "2.41.0";
+ version = "2.44.0";
src = fetchFromGitHub {
owner = "PurpleI2P";
repo = pname;
rev = version;
- sha256 = "sha256-fQqbZYb0brGmGf7Yc/2Zd5BZ+YOkGYC3o9uhShYdAE4=";
+ sha256 = "sha256-9LnT0613z2I9bA0FhcTgINBnXG17ulz6flA13B1Vijs=";
};
- buildInputs = with lib; [ boost zlib openssl ]
- ++ optional upnpSupport miniupnpc;
+ buildInputs = [ boost zlib openssl ]
+ ++ lib.optional upnpSupport miniupnpc;
nativeBuildInputs = [
installShellFiles