Merge pull request #144394 from r-ryantm/auto-update/libjxl

libjxl: 0.5 -> 0.6.1
This commit is contained in:
Robert Scott
2021-12-11 14:47:46 +00:00
committed by GitHub
+12 -2
View File
@@ -1,4 +1,5 @@
{ stdenv, lib, fetchFromGitHub
, fetchpatch
, asciidoc
, brotli
, cmake
@@ -18,17 +19,26 @@
stdenv.mkDerivation rec {
pname = "libjxl";
version = "0.5";
version = "0.6.1";
src = fetchFromGitHub {
owner = "libjxl";
repo = "libjxl";
rev = "v${version}";
sha256 = "0grljgmy6cfhm8zni9d1mdn01qzc49k1pl75vhr7qcd3sp4r8lxm";
sha256 = "sha256-fTK5hyU9PZ6nigMsfzVugwviihgAXfEcLF+l+n5h+54=";
# There are various submodules in `third_party/`.
fetchSubmodules = true;
};
patches = [
# present in master, remove after 0.7?
(fetchpatch {
name = "fix-link-lld-macho.patch";
url = "https://github.com/libjxl/libjxl/commit/88fe3fff3dc70c72405f57c69feffd9823930034.patch";
sha256 = "1419fyiq4srpj72cynwyvqy8ldi7vn9asvkp5fsbmiqkyhb15jpk";
})
];
# hydra's darwin machines run into https://github.com/libjxl/libjxl/issues/408
# unless we disable highway's tests
postPatch = lib.optional stdenv.isDarwin ''