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

33 lines
556 B
Nix
Raw Normal View History

2017-05-31 01:30:24 +00:00
{ buildPythonPackage
, fetchPypi
, numpy
, pytest
, pytestrunner
}:
buildPythonPackage rec {
pname = "fonttools";
2018-01-20 10:58:07 +00:00
version = "3.21.2";
2017-05-31 01:30:24 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-01-20 10:58:07 +00:00
sha256 = "96b636793c806206b1925e21224f4ab2ce5bea8ae0990ed181b8ac8d30848f47";
2017-05-31 01:30:24 +00:00
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
];
meta = {
homepage = https://github.com/fonttools/fonttools;
2017-05-31 01:30:24 +00:00
description = "A library to manipulate font files from Python";
};
}