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

33 lines
556 B
Nix
Raw Normal View History

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