mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
python3.pkgs.compreffor: init at 0.5.1.post1
This commit is contained in:
44
pkgs/development/python-modules/compreffor/default.nix
Normal file
44
pkgs/development/python-modules/compreffor/default.nix
Normal 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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user