blob: f4c36f34074c71d5d5cac17ec6a8492cb9ce941f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{ fetchFromGitHub, pythonPackages, lib }:
pythonPackages.buildPythonPackage rec {
pname = "nototools";
version = "unstable-2019-03-20";
src = fetchFromGitHub {
owner = "googlefonts";
repo = "nototools";
rev = "9c4375f07c9adc00c700c5d252df6a25d7425870";
sha256 = "0z9i23vl6xar4kvbqbc8nznq3s690mqc5zfv280l1c02l5n41smc";
};
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/googlefonts/nototools;
};
}
|