1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/fonttools/default.nix

40 lines
648 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
2017-05-31 02:30:24 +01:00
, fetchPypi
, numpy
, pytest
, pytestrunner
2018-03-02 02:21:19 +00:00
, glibcLocales
2017-05-31 02:30:24 +01:00
}:
buildPythonPackage rec {
pname = "fonttools";
2019-12-19 19:31:11 +00:00
version = "4.2.2";
2017-05-31 02:30:24 +01:00
src = fetchPypi {
inherit pname version;
2019-12-19 19:31:11 +00:00
sha256 = "66bb3dfe7efe5972b0145339c063ffaf9539e973f7ff8791df84366eafc65804";
2017-05-31 02:30:24 +01:00
extension = "zip";
};
buildInputs = [
numpy
];
checkInputs = [
pytest
pytestrunner
glibcLocales
2017-05-31 02:30:24 +01:00
];
2018-03-02 02:21:19 +00:00
preCheck = ''
export LC_ALL="en_US.UTF-8"
'';
2017-05-31 02:30:24 +01:00
meta = {
homepage = https://github.com/fonttools/fonttools;
2017-05-31 02:30:24 +01:00
description = "A library to manipulate font files from Python";
license = lib.licenses.mit;
2017-05-31 02:30:24 +01:00
};
}