2017-11-22 05:19:48 +00:00
|
|
|
{ fetchFromGitHub, pythonPackages, lib }:
|
|
|
|
|
|
|
|
pythonPackages.buildPythonPackage rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "nototools";
|
2019-08-29 16:23:10 +01:00
|
|
|
version = "unstable-2019-03-20";
|
2017-11-22 05:19:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2019-08-29 16:23:10 +01:00
|
|
|
owner = "googlefonts";
|
2017-11-22 05:19:48 +00:00
|
|
|
repo = "nototools";
|
2019-08-29 16:23:10 +01:00
|
|
|
rev = "9c4375f07c9adc00c700c5d252df6a25d7425870";
|
|
|
|
sha256 = "0z9i23vl6xar4kvbqbc8nznq3s690mqc5zfv280l1c02l5n41smc";
|
2017-11-22 05:19:48 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
2019-08-29 16:23:10 +01:00
|
|
|
homepage = https://github.com/googlefonts/nototools;
|
2017-11-22 05:19:48 +00:00
|
|
|
};
|
|
|
|
}
|