Skip to content

Commit

Permalink
harfbuzz: 5.3.1 -> 6.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
2xsaiko committed Jan 4, 2023
1 parent 6567024 commit b066191
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions pkgs/development/libraries/harfbuzz/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,23 +32,13 @@

stdenv.mkDerivation rec {
pname = "harfbuzz${lib.optionalString withIcu "-icu"}";
version = "5.3.1";
version = "6.0.0";

src = fetchurl {
url = "https://github.com/harfbuzz/harfbuzz/releases/download/${version}/harfbuzz-${version}.tar.xz";
sha256 = "sha256-Smzgl7dagSH6zEuoO1sIO/7GV/RbADzVo0JPKua0Q00=";
sha256 = "HRAQoXUdB21SkeQzwThQKnlNZ5p0mNEmjuIeLUoUDrQ=";
};

patches = [
# Pick upstream patch for exported symbol test failing on darwin
# https://github.com/harfbuzz/harfbuzz/issues/3850
(fetchpatch {
name = "harfbuzz-fix-check-symbol-tests-lto-and-darwin.patch";
url = "https://github.com/harfbuzz/harfbuzz/commit/b0b7a65388da25ae3fa01e969ad6abc67eed4f49.patch";
sha256 = "0my064r88pikw6q70hbgf6hwfkw544b9f5ai73qhn2a3c83jqn06";
})
];

postPatch = ''
patchShebangs src/*.py test
'' + lib.optionalString stdenv.isDarwin ''
Expand Down

0 comments on commit b066191

Please sign in to comment.