Files
nixpkgs/pkgs/development/python-modules/fontmath/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

39 lines
865 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
fonttools,
setuptools-scm,
pytestCheckHook,
pythonOlder,
}:
buildPythonPackage rec {
pname = "fontmath";
version = "0.9.3";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "fontMath";
inherit version;
hash = "sha256-alOHy3/rEFlY2y9c7tyHhRPMNb83FeJiCQ8FV74MGxw=";
extension = "zip";
};
nativeBuildInputs = [ setuptools-scm ];
propagatedBuildInputs = [ fonttools ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Collection of objects that implement fast font, glyph, etc. math";
homepage = "https://github.com/robotools/fontMath/";
changelog = "https://github.com/robotools/fontMath/releases/tag/${version}";
license = licenses.mit;
maintainers = with maintainers; [ sternenseemann ];
};
}