depot/third_party/nixpkgs/pkgs/development/python-modules/collidoscope/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

47 lines
835 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
babelfont,
kurbopy,
fonttools,
skia-pathops,
tqdm,
uharfbuzz,
unittestCheckHook,
}:
buildPythonPackage rec {
pname = "collidoscope";
version = "0.6.5";
format = "setuptools";
src = fetchPypi {
inherit pname version;
hash = "sha256-D7MzJ8FZjA/NSXCqCJQ9a02FPPi3t4W0q65wRIDcfSA=";
};
propagatedBuildInputs = [
babelfont
kurbopy
fonttools
skia-pathops
tqdm
uharfbuzz
];
doCheck = true;
nativeCheckInputs = [ unittestCheckHook ];
unittestFlagsArray = [
"-s"
"test"
"-v"
];
meta = with lib; {
description = "Python library to detect glyph collisions in fonts";
homepage = "https://github.com/googlefonts/collidoscope";
license = licenses.mit;
maintainers = with maintainers; [ danc86 ];
};
}