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";
2017-10-25 18:04:35 +00:00
version = "3.17.0";
2017-05-31 01:30:24 +00:00
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
2017-10-25 18:04:35 +00:00
sha256 = "1c4f26bf32cd58d5881bfe1f42e5f0a1637a58452a60ae1623999f3ae7da0e24";
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";
};
}