Commit 6c0a5bef authored by Siddhartha's avatar Siddhartha Committed by tomf
Browse files

zziplib: 0.13.72 -> 0.13.74

parent b791c2e7
Loading
Loading
Loading
Loading
+2 −23
Original line number Diff line number Diff line
@@ -13,36 +13,15 @@

stdenv.mkDerivation rec {
  pname = "zziplib";
  version = "0.13.72";
  version = "0.13.74";

  src = fetchFromGitHub {
    owner = "gdraheim";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-Ht3fBgdrTm4mCi5uhgQPNtpGzADoRVOpSuGPsIS6y0Q=";
    hash = "sha256-MjqGHzb+dsAq2PrcBhU3sv4eMX3afkgFWUbhDp+5o/s=";
  };

  patches = [
    # apply https://github.com/gdraheim/zziplib/pull/113
    (fetchpatch {
      url = "https://github.com/gdraheim/zziplib/commit/82a7773cd17828a3b0a4f5f552ae80c1cc8777c7.diff";
      sha256 = "0ifqdzxwb5d19mziy9j6lhl8wj95jpxzm0d2c6y3bgwa931avd3y";
    })
    (fetchpatch {
      url = "https://github.com/gdraheim/zziplib/commit/1cd611514c5f9559eb9dfc191d678dfc991f66db.diff";
      sha256 = "11w9qa46xq49l113k266dnv8izzdk1fq4y54yy5w8zps8zd3xfny";
    })
    (fetchpatch {
      url = "https://github.com/gdraheim/zziplib/commit/e47b1e1da952a92f917db6fb19485b8a0b1a42f3.diff";
      sha256 = "0d032hkmi3s3db12z2zbppl2swa3gdpbj0c6w13ylv2g2ixglrwg";
    })
    # Fixes invalid pointer conversions that cause compilation to fail with clang 15+
    (fetchpatch {
      url = "https://github.com/gdraheim/zziplib/commit/38e4d5f561318fa825e6544c2ef55ac5899c81b0.diff";
      sha256 = "sha256-VJuFyiPhuAZlDxmNHBty+JbYwG85ea5u2sv7HZRHMwo=";
    })
  ];

  nativeBuildInputs = [
    cmake
    perl