nixpkgs/pkgs/development/python-modules/fonttools/default.nix
2017-12-31 10:55:04 +01:00

33 lines
556 B
Nix

{ buildPythonPackage
, fetchPypi
, numpy
, pytest
, pytestrunner
}:
buildPythonPackage rec {
pname = "fonttools";
version = "3.21.0";
name = "${pname}-${version}";
src = fetchPypi {
inherit pname version;
sha256 = "95b5c66d19dbffd57be1636d1f737c7644d280a48c28f933aeb4db73a7c83495";
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
];
meta = {
homepage = https://github.com/fonttools/fonttools;
description = "A library to manipulate font files from Python";
};
}