Unverified Commit ec23d6a8 authored by Daniel Nagy's avatar Daniel Nagy
Browse files

i2pd: 2.52.0 -> 2.54.0

parent b57179d8
Loading
Loading
Loading
Loading
+2 −11
Original line number Diff line number Diff line
{ lib, stdenv, fetchFromGitHub
, fetchpatch2
, installShellFiles
, boost, zlib, openssl
, upnpSupport ? true, miniupnpc
@@ -9,23 +8,15 @@

stdenv.mkDerivation rec {
  pname = "i2pd";
  version = "2.52.0";
  version = "2.54.0";

  src = fetchFromGitHub {
    owner = "PurpleI2P";
    repo = pname;
    rev = version;
    sha256 = "sha256-0n3cPF3KBuzNOagrn88HeTvFAu1sYTkijpiGr77X5GI=";
    sha256 = "sha256-neoIDZNBBDq3tqz1ET3/CS/zb0Lret9niyuU7iWoNIE=";
  };

  patches = [
    # Support miniupnp-2.2.8 (fixes #2071)
    (fetchpatch2 {
      url = "https://github.com/PurpleI2P/i2pd/commit/697d8314415b0dc0634fd1673abc589a080e0a31.patch?full_index=1";
      hash = "sha256-B9Ngw1yPrnF5pGLe1a5x0TlyInvQGcq1zQUKO/ELFzA=";
    })
  ];

  buildInputs = [ boost zlib openssl ]
    ++ lib.optional upnpSupport miniupnpc;