blob: 13f6e574abb5e4bf1ec1c35ffe6ca5bbc51cbca5 (
plain)
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
fonttools,
importlib-resources,
setuptools,
setuptools-scm,
youseedee,
}:
buildPythonPackage rec {
pname = "gfsubsets";
version = "2025.11.04";
src = fetchFromGitHub {
owner = "googlefonts";
repo = "nam-files";
tag = "v${version}";
hash = "sha256-mMsmccIuilKeOUjt68etYefibuorjlW32gLcLgV8jxo=";
};
pyproject = true;
build-system = [
setuptools
setuptools-scm
];
dependencies = [
fonttools
importlib-resources
youseedee
];
# Package has no unit tests.
doCheck = false;
pythonImportsCheck = [ "gfsubsets" ];
meta = {
description = "Codepoint definitions for the Google Fonts subsetter";
homepage = "https://github.com/googlefonts/nam-files";
changelog = "https://github.com/googlefonts/nam-files/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ danc86 ];
};
}
|