depot/third_party/nixpkgs/pkgs/development/python-modules/gfsubsets/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

46 lines
917 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
fonttools,
importlib-resources,
setuptools,
setuptools-scm,
youseedee,
}:
buildPythonPackage rec {
pname = "gfsubsets";
version = "2024.5.9";
gitTag = "v2024.02.05";
src = fetchPypi {
inherit pname version;
hash = "sha256-OgpdcOJWX0o0Hy6LjRsxsZMAVWgKziM+bqe/FfJniZY=";
};
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 ];
};
}