harfbuzz: switch to pname + version (#135529)

Co-authored-by: Bobby Rong <931189261@qq.com>
This commit is contained in:
Sandro 2021-08-24 23:35:35 +02:00 committed by GitHub
parent 071f37a83c
commit 66679f0e52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 \