nixpkgs/pkgs/development/python-modules/ufoLib2/default.nix

38 lines
606 B
Nix
Raw Normal View History

2022-01-30 03:11:50 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, attrs
, fonttools
, pytestCheckHook
, fs
}:
buildPythonPackage rec {
pname = "ufoLib2";
version = "0.13.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "xJfvyNE+30BgNirX8u1xhKcD8pM3owRAVC4WX+qFqEM=";
};
propagatedBuildInputs = [
attrs
fonttools
# required by fonttools[ufo]
fs
];
checkInputs = [
pytestCheckHook
];
meta = with lib; {
description = "Library to deal with UFO font sources";
homepage = "https://github.com/fonttools/ufoLib2";
license = licenses.mit;
};
}