Skip to content

Commit

Permalink
Merge pull request #117526 from veprbl/pr/zziplib_darwin_fix
Browse files Browse the repository at this point in the history
zziplib: fix missing links on darwin
  • Loading branch information
SuperSandro2000 committed Mar 25, 2021
2 parents a981d29 + ecc9070 commit 77cf1c3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pkgs/development/libraries/zziplib/default.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, cmake
, perl
, pkg-config
Expand All @@ -21,6 +22,22 @@ stdenv.mkDerivation rec {
hash = "sha256-Ht3fBgdrTm4mCi5uhgQPNtpGzADoRVOpSuGPsIS6y0Q=";
};

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";
})
];

nativeBuildInputs = [
cmake
perl
Expand Down

0 comments on commit 77cf1c3

Please sign in to comment.