33afbf39f6
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
45 lines
798 B
Nix
45 lines
798 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, setuptools-scm
|
|
, fonttools
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "compreffor";
|
|
version = "0.5.3";
|
|
|
|
format = "pyproject";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-fUEpbU+wqh72lt/ZJdKvMifUAwYivpmzx9QQfcb4cTo=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
setuptools-scm
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
fonttools
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytestCheckHook
|
|
];
|
|
|
|
# Tests cannot seem to open the cpython module.
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"compreffor"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "CFF table subroutinizer for FontTools";
|
|
homepage = "https://github.com/googlefonts/compreffor";
|
|
license = licenses.asl20;
|
|
maintainers = with maintainers; [ jtojnar ];
|
|
};
|
|
}
|