Unverified Commit 5d6d90c3 authored by Robert Scott's avatar Robert Scott Committed by GitHub
Browse files

Merge pull request #220566 from felixsinger/pkgs/minizip-ng/update

minizip-ng: 3.0.7 -> 3.0.8
parents ea014e39 930cbecf
Loading
Loading
Loading
Loading
+2 −17
Original line number Diff line number Diff line
@@ -14,30 +14,15 @@

stdenv.mkDerivation (finalAttrs: {
  pname = "minizip-ng";
  version = "3.0.7";
  version = "3.0.8";

  src = fetchFromGitHub {
    owner = "zlib-ng";
    repo = finalAttrs.pname;
    rev = finalAttrs.version;
    sha256 = "sha256-m/zSVx8vYzLA23Cusd1p/ZSGd1mV3gM6UqDnmEXqpq4=";
    sha256 = "sha256-Vzp+5fQBJoO1pG7j8LwC2/B/cOgM/exhKyb3zHuy89Y=";
  };

  patches = [
    (fetchpatch {
      name = "find-system-gtest.patch";
      url = "https://github.com/zlib-ng/minizip-ng/commit/be23c8d3b7e2cb5ba619e60517cad277ee510fb7.patch";
      sha256 = "sha256-azwrGj6kgTyTepGAmOlxDOFOwJKQE5J2bwUIn6sgKUY=";
    })

    # otherwise signing unit tests fail
    (fetchpatch {
      name = "disable-mz-signing-by-default.patch";
      url = "https://github.com/zlib-ng/minizip-ng/commit/60649ada97581afc0bc2fffc50ce402ff1e6df5d.patch";
      sha256 = "sha256-bHGM4H8RPYkfAjxcS1bPohR9IFOFT0Mx4Mg34UnnD+w=";
    })
  ];

  nativeBuildInputs = [ cmake pkg-config ];
  buildInputs = [ zlib bzip2 xz zstd openssl ];