depot/third_party/nixpkgs/pkgs/development/python-modules/ufoprocessor/default.nix
Default email 1ae14203fc Project import generated by Copybara.
GitOrigin-RevId: 68398d2dd50efc2d878bf0f83bbc8bc323b6b0e0
2021-01-17 01:15:33 +01:00

39 lines
845 B
Nix

{ lib, buildPythonPackage, fetchPypi
, defcon, fonttools, lxml, fs
, mutatormath, fontmath, fontparts
, setuptools_scm
}:
buildPythonPackage rec {
pname = "ufoProcessor";
version = "1.9.0";
src = fetchPypi {
inherit pname version;
sha256 = "0ns11aamgavgsfj8qf5kq7dvzmgl0mhr1cbych2f075ipfdvva5s";
extension = "zip";
};
nativeBuildInputs = [ setuptools_scm ];
propagatedBuildInputs = [
defcon
lxml
fonttools
fs
fontmath
fontparts
mutatormath
];
# tests require custom commands to run
doCheck = false;
pythonImportsCheck = [ "ufoProcessor" ];
meta = with lib; {
description = "Read, write and generate UFOs with designspace data";
homepage = "https://github.com/LettError/ufoProcessor";
license = licenses.mit;
maintainers = [ maintainers.sternenseemann ];
};
}