Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
noto fonts and tools: update to newer tagged releases (#31543)
* noto fonts and tools: update to newer tagged releases * noto-tools: split out to a separate file
- Loading branch information
Showing
3 changed files
with
39 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ fetchFromGitHub, pythonPackages, lib }: | ||
|
||
pythonPackages.buildPythonPackage rec { | ||
version = "2017-09-25"; | ||
name = "nototools-${version}"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "googlei18n"; | ||
repo = "nototools"; | ||
rev = "v2017-09-25-tooling-for-phase3-update"; | ||
sha256 = "03nzvcvwmrhfrcjhg218q2f3hfrm3vlivp4rk19sc397kh3hisiz"; | ||
}; | ||
|
||
propagatedBuildInputs = with pythonPackages; [ fonttools numpy ]; | ||
|
||
postPatch = '' | ||
sed -ie "s^join(_DATA_DIR_PATH,^join(\"$out/third_party/ucd\",^" nototools/unicode_data.py | ||
''; | ||
|
||
postInstall = '' | ||
cp -r third_party $out | ||
''; | ||
|
||
disabled = pythonPackages.isPy3k; | ||
|
||
meta = { | ||
description = "Noto fonts support tools and scripts plus web site generation"; | ||
license = lib.licenses.asl20; | ||
homepage = https://github.com/googlei18n/nototools; | ||
platform = lib.platforms.unix; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Is the change of this attribute name (small
t
to capitalT
) intended? If so, please also update the reference inpkgs/data/fonts/noto-fonts/default.nix
.