Martin Weinelt df74f34c6d
python312Packages.glyphtools: disable tests
The setup.py test command has been removed. This package had no tests in
the first place, so we reach partiy by import testing the module.
2024-08-06 18:18:39 +02:00

39 lines
772 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
beziers,
glyphslib,
numpy,
}:
buildPythonPackage rec {
pname = "glyphtools";
version = "0.8.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-PXwXHWMJbsi6ZtN+daaXAnlw3gV5DFAhyRxdBa7UP+M=";
};
propagatedBuildInputs = [
beziers
glyphslib
numpy
];
# A unit test suite does exist, but it only contains a dummy test that
# imports the library.
doCheck = false;
pythonImportsCheck = [ "glyphtools" ];
meta = with lib; {
description = "Python library for extracting information from font glyphs";
homepage = "https://github.com/simoncozens/glyphtools";
license = licenses.asl20;
maintainers = with maintainers; [ danc86 ];
};
}