nixpkgs/pkgs/development/python-modules/fonttools/default.nix
2018-01-03 22:06:10 +01:00

33 lines
544 B
Nix

{ buildPythonPackage
, fetchPypi
, numpy
, pytest
, pytestrunner
}:
buildPythonPackage rec {
pname = "fonttools";
version = "3.21.1";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "1whama3bm34xp9l7f543sz2h9dms77ci820sdbxi5dl9krs4xkxb";
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
];
meta = {
homepage = https://github.com/fonttools/fonttools;
description = "A library to manipulate font files from Python";
};
}