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-02-26 17:45:12 +00:00
version = "3.23.0";
2017-05-31 01:30:24 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2018-02-26 17:45:12 +00:00
sha256 = "9af97075be0395b631880a82ba88dcf694c8aa76b07a622bf5f650e8f8cff293";
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";
};
}