ansible-later: 2.0.22 -> 2.0.23
[NixPkgs.git] / pkgs / development / python-modules / pyclipper / default.nix
blob9216f0d5b89304c2c5c00e00fec36c7c4b494513
1 { lib
2 , fetchFromGitHub
3 , buildPythonPackage
4 , setuptools-scm
5 , cython
6 , pytestCheckHook
7 , pythonOlder
8 }:
10 buildPythonPackage rec {
11   pname = "pyclipper";
12   version = "1.3.0.post3";
13   format = "setuptools";
15   disabled = pythonOlder "3.7";
17   src = fetchFromGitHub {
18     owner = "fonttools";
19     repo = pname;
20     rev = "refs/tags/${version}";
21     hash = "sha256-viBnmzbCAH9QaVHwUq43rm11e8o3N/jtGsGpmRZokaw=";
22   };
24   SETUPTOOLS_SCM_PRETEND_VERSION = version;
26   nativeBuildInputs = [
27     setuptools-scm
28     cython
29   ];
31   checkInputs = [
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [
36     "pyclipper"
37   ];
39   meta = with lib; {
40     description = "Cython wrapper for clipper library";
41     homepage = "https://github.com/fonttools/pyclipper";
42     license = licenses.mit;
43     maintainers = with maintainers; [ matthuszagh ];
44   };