nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 47 lines 953 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 fonttools, 6 importlib-resources, 7 setuptools, 8 setuptools-scm, 9 youseedee, 10}: 11 12buildPythonPackage rec { 13 pname = "gfsubsets"; 14 version = "2025.11.04"; 15 16 src = fetchFromGitHub { 17 owner = "googlefonts"; 18 repo = "nam-files"; 19 tag = "v${version}"; 20 hash = "sha256-mMsmccIuilKeOUjt68etYefibuorjlW32gLcLgV8jxo="; 21 }; 22 23 pyproject = true; 24 25 build-system = [ 26 setuptools 27 setuptools-scm 28 ]; 29 30 dependencies = [ 31 fonttools 32 importlib-resources 33 youseedee 34 ]; 35 36 # Package has no unit tests. 37 doCheck = false; 38 pythonImportsCheck = [ "gfsubsets" ]; 39 40 meta = { 41 description = "Codepoint definitions for the Google Fonts subsetter"; 42 homepage = "https://github.com/googlefonts/nam-files"; 43 changelog = "https://github.com/googlefonts/nam-files/releases/tag/${src.tag}"; 44 license = lib.licenses.asl20; 45 maintainers = with lib.maintainers; [ danc86 ]; 46 }; 47}