mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
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