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

33 lines
558 B
Nix
Raw Normal View History

2017-05-31 03:30:24 +02:00
{ buildPythonPackage
, fetchPypi
, numpy
, pytest
, pytestrunner
}:
buildPythonPackage rec {
pname = "fonttools";
2017-06-19 13:43:19 +02:00
version = "3.13.1";
2017-05-31 03:30:24 +02:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-06-19 13:43:19 +02:00
sha256 = "ded1f9a6cdd6ed19a3df05ae40066d579ffded17369b976f9e701cf31b7b1f2d";
2017-05-31 03:30:24 +02:00
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
];
meta = {
homepage = "https://github.com/fonttools/fonttools";
description = "A library to manipulate font files from Python";
};
}