1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6 setuptools-scm, 7 cython, 8 pytestCheckHook, 9}: 10 11buildPythonPackage rec { 12 pname = "pyclipper"; 13 version = "1.3.0.post6"; 14 pyproject = true; 15 16 src = fetchFromGitHub { 17 owner = "fonttools"; 18 repo = "pyclipper"; 19 tag = version; 20 hash = "sha256-s2D0ipDatAaF7A1RYOKyI31nkfc/WL3vHWsAMbo+WcY="; 21 }; 22 23 build-system = [ 24 setuptools 25 setuptools-scm 26 cython 27 ]; 28 29 nativeCheckInputs = [ pytestCheckHook ]; 30 31 pythonImportsCheck = [ "pyclipper" ]; 32 33 meta = with lib; { 34 description = "Cython wrapper for clipper library"; 35 homepage = "https://github.com/fonttools/pyclipper"; 36 license = licenses.mit; 37 maintainers = with maintainers; [ matthuszagh ]; 38 }; 39}