harfbuzz: switch to pname + version (#135529)

Co-authored-by: Bobby Rong <931189261@qq.com>
main
Sandro 3 years ago committed by GitHub
parent 071f37a83c
commit 66679f0e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      pkgs/development/libraries/harfbuzz/default.nix

@ -32,7 +32,8 @@ let
in
stdenv.mkDerivation {
name = "harfbuzz${optionalString withIcu "-icu"}-${version}";
pname = "harfbuzz${optionalString withIcu "-icu"}";
inherit version;
src = fetchFromGitHub {
owner = "harfbuzz";
@ -42,8 +43,7 @@ stdenv.mkDerivation {
};
postPatch = ''
patchShebangs src/*.py
patchShebangs test
patchShebangs src/*.py test
'' + lib.optionalString stdenv.isDarwin ''
# ApplicationServices.framework headers have cast-align warnings.
substituteInPlace src/hb.hh \

Loading…
Cancel
Save