python3.pkgs.compreffor: init at 0.5.1.post1

This commit is contained in:
Jan Tojnar 2022-01-30 03:28:43 +01:00
parent db139f1cc9
commit cca027df7e
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,44 @@
{ lib
, buildPythonPackage
, fetchPypi
, setuptools-scm
, fonttools
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "compreffor";
version = "0.5.1.post1";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "Zqia+yP4Dp5VNGeMwv+j04aNm9oVmZ2juehbfEzDfOQ=";
};
nativeBuildInputs = [
setuptools-scm
];
propagatedBuildInputs = [
fonttools
];
checkInputs = [
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;
};
}

View File

@ -1773,6 +1773,8 @@ in {
compiledb = callPackage ../development/python-modules/compiledb { };
compreffor = callPackage ../development/python-modules/compreffor { };
concurrent-log-handler = callPackage ../development/python-modules/concurrent-log-handler { };
conda = callPackage ../development/python-modules/conda { };