depot/third_party/nixpkgs/pkgs/development/python-modules/ufonormalizer/default.nix
Default email 159e378cbb Project import generated by Copybara.
GitOrigin-RevId: c04d5652cfa9742b1d519688f65d1bbccea9eb7e
2024-09-19 17:19:46 +03:00

31 lines
693 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
pythonOlder,
setuptools-scm,
}:
buildPythonPackage rec {
pname = "ufonormalizer";
version = "0.6.2";
format = "setuptools";
disabled = pythonOlder "3.5";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-TFcVu5SDgfLGQa+CuUk4rSQtm1Nl3RxbfOPXVVaibDo=";
extension = "zip";
};
nativeBuildInputs = [ setuptools-scm ];
meta = with lib; {
description = "Script to normalize the XML and other data inside of a UFO";
mainProgram = "ufonormalizer";
homepage = "https://github.com/unified-font-object/ufoNormalizer";
license = licenses.bsd3;
maintainers = [ maintainers.sternenseemann ];
};
}