Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pyclipper / default.nix
blob27a2a1d80844922d34a21ac1846c9fef2b273482
1 { lib
2 , fetchPypi
3 , buildPythonPackage
4 , setuptools_scm
5 , cython
6 }:
8 buildPythonPackage rec {
9   pname = "pyclipper";
10   version = "1.2.1";
12   src = fetchPypi {
13     inherit pname version;
14     extension = "zip";
15     sha256 = "ca3751e93559f0438969c46f17459d07f983281dac170c3479de56492e152855";
16   };
18   nativeBuildInputs = [
19     setuptools_scm
20     cython
21   ];
23   # Requires pytest_runner to perform tests, which requires deprecated
24   # features of setuptools. Seems better to not run tests. This should
25   # be fixed upstream.
26   doCheck = false;
27   pythonImportsCheck = [ "pyclipper" ];
29   meta = with lib; {
30     description = "Cython wrapper for clipper library";
31     homepage    = "https://github.com/fonttools/pyclipper";
32     license     = licenses.mit;
33     maintainers = with maintainers; [ matthuszagh ];
34   };