depot/third_party/nixpkgs/pkgs/development/python-modules/gfsubsets/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

47 lines
913 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, fonttools
, importlib-resources
, setuptools
, setuptools-scm
, youseedee
}:
buildPythonPackage rec {
pname = "gfsubsets";
version = "2024.2.5";
gitTag = "v2024.02.05";
src = fetchPypi {
inherit pname version;
hash = "sha256-g9QxLa3B1MMTs+jmj4CyJySZRU0zoFNYdbOZwHjKPaQ=";
};
pyproject = true;
build-system = [
setuptools
setuptools-scm
];
dependencies = [
fonttools
importlib-resources
youseedee
];
# Package has no unit tests.
doCheck = false;
pythonImportsCheck = [
"gfsubsets"
];
meta = with lib; {
description = "Codepoint definitions for the Google Fonts subsetter";
homepage = "https://github.com/googlefonts/nam-files";
changelog = "https://github.com/googlefonts/nam-files/releases/tag/${gitTag}";
license = licenses.asl20;
maintainers = with maintainers; [ danc86 ];
};
}