harfbuzz: switch to pname + version (#135529)
Co-authored-by: Bobby Rong <931189261@qq.com>
This commit is contained in:
parent
071f37a83c
commit
66679f0e52
@ -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…
Reference in New Issue
Block a user