move fonttools to its own directory
This commit is contained in:
parent
4e3afed6dc
commit
26b69109be
32
pkgs/development/python-modules/fonttools/default.nix
Normal file
32
pkgs/development/python-modules/fonttools/default.nix
Normal file
@ -0,0 +1,32 @@
|
||||
{ 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";
|
||||
};
|
||||
}
|
@ -11417,31 +11417,7 @@ in {
|
||||
inherit python;
|
||||
};
|
||||
|
||||
fonttools = buildPythonPackage (rec {
|
||||
pname = "fonttools";
|
||||
version = "3.13.0";
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "5ec278ff231d0c88afe8266e911ee0f8e66c8501c53f5f144a1a0abbc936c6b8";
|
||||
extension = "zip";
|
||||
};
|
||||
|
||||
buildInputs = with self; [
|
||||
numpy
|
||||
];
|
||||
|
||||
checkInputs = with self; [
|
||||
pytest
|
||||
pytestrunner
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/fonttools/fonttools";
|
||||
description = "A library to manipulate font files from Python";
|
||||
};
|
||||
});
|
||||
fonttools = callPackage ../development/python-modules/fonttools { };
|
||||
|
||||
foolscap = buildPythonPackage (rec {
|
||||
name = "foolscap-${version}";
|
||||
|
Loading…
Reference in New Issue
Block a user