Merge pull request #26079 from mt-caret/fonttools-3.13.0

fonttools: 3.0 -> 3.13.0

Changed files
+33 -18
pkgs
development
python-modules
fonttools
top-level
+32
pkgs/development/python-modules/fonttools/default.nix
···
···
+
{ buildPythonPackage
+
, fetchPypi
+
, numpy
+
, pytest
+
, pytestrunner
+
}:
+
+
buildPythonPackage rec {
+
pname = "fonttools";
+
version = "3.13.0";
+
name = "${pname}-${version}";
+
+
src = fetchPypi {
+
inherit pname version;
+
sha256 = "5ec278ff231d0c88afe8266e911ee0f8e66c8501c53f5f144a1a0abbc936c6b8";
+
extension = "zip";
+
};
+
+
buildInputs = [
+
numpy
+
];
+
+
checkInputs = [
+
pytest
+
pytestrunner
+
];
+
+
meta = {
+
homepage = "https://github.com/fonttools/fonttools";
+
description = "A library to manipulate font files from Python";
+
};
+
}
+1 -18
pkgs/top-level/python-packages.nix
···
inherit python;
};
-
fonttools = buildPythonPackage (rec {
-
version = "3.0";
-
name = "fonttools-${version}";
-
-
src = pkgs.fetchurl {
-
url = "mirror://pypi/F/FontTools/fonttools-${version}.tar.gz";
-
sha256 = "0f4iblpbf3y3ghajiccvdwk2f46cim6dsj6fq1kkrbqfv05dr4nz";
-
};
-
-
buildInputs = with self; [
-
numpy
-
];
-
-
meta = {
-
homepage = "https://github.com/behdad/fonttools";
-
description = "Font file processing tools";
-
};
-
});
foolscap = buildPythonPackage (rec {
name = "foolscap-${version}";
···
inherit python;
};
+
fonttools = callPackage ../development/python-modules/fonttools { };
foolscap = buildPythonPackage (rec {
name = "foolscap-${version}";