nixpkgs/pkgs/development/python-modules/dehinter/default.nix
Martin Weinelt 266c161842
python312Packages: cleanup instances of doCheck = true
This is implicitly the case, and unless `doCheck` is referenced it makes
no sense setting it.
2024-10-26 01:47:02 +02:00

34 lines
790 B
Nix

{
lib,
buildPythonPackage,
fetchFromGitHub,
fonttools,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "dehinter";
version = "4.0.0";
format = "setuptools";
# PyPI source tarballs omit tests, fetch from Github instead
src = fetchFromGitHub {
owner = "source-foundry";
repo = "dehinter";
rev = "v${version}";
hash = "sha256-l988SW6OWKXzJK0WGAJZR/QDFvgnSir+5TwMMvFcOxg=";
};
propagatedBuildInputs = [ fonttools ];
nativeCheckInputs = [ pytestCheckHook ];
meta = with lib; {
description = "Utility for removing hinting data from TrueType and OpenType fonts";
mainProgram = "dehinter";
homepage = "https://github.com/source-foundry/dehinter";
license = licenses.asl20;
maintainers = with maintainers; [ danc86 ];
};
}