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

33 lines
544 B
Nix
Raw Normal View History

2017-05-31 02:30:24 +01:00
{ buildPythonPackage
, fetchPypi
, numpy
, pytest
, pytestrunner
}:
buildPythonPackage rec {
pname = "fonttools";
2018-01-03 18:25:38 +00:00
version = "3.21.1";
2017-05-31 02:30:24 +01:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-03 18:25:38 +00:00
sha256 = "1whama3bm34xp9l7f543sz2h9dms77ci820sdbxi5dl9krs4xkxb";
2017-05-31 02:30:24 +01:00
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
];
meta = {
homepage = https://github.com/fonttools/fonttools;
2017-05-31 02:30:24 +01:00
description = "A library to manipulate font files from Python";
};
}