depot/third_party/nixpkgs/pkgs/development/python-modules/ufonormalizer/default.nix

32 lines
693 B
Nix
Raw Normal View History

{
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 ];
};
}