summary refs log blame commit diff
path: root/pkgs/development/python-modules/pyclipper/default.nix
blob: 0dbcdfbc260aeeb1d413034b5437c3f3a534dee5 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
     

                    
                
        

                 



                        
                    



                          
                                                                                


                       
                  


          
                                              

                                       
                    





                                                           
{ lib
, fetchPypi
, buildPythonPackage
, setuptools-scm
, cython
, pytestCheckHook
, unittest2
}:

buildPythonPackage rec {
  pname = "pyclipper";
  version = "1.3.0";

  src = fetchPypi {
    inherit pname version;
    extension = "zip";
    sha256 = "48a1b5c585aea10e5b9c0b82d6abe2642fafd9ef158b9921852bc4af815ca20c";
  };

  nativeBuildInputs = [
    setuptools-scm
    cython
  ];

  checkInputs = [ pytestCheckHook unittest2 ];
  pythonImportsCheck = [ "pyclipper" ];

  meta = with lib; {
    description = "Cython wrapper for clipper library";
    homepage    = "https://github.com/fonttools/pyclipper";
    license     = licenses.mit;
    maintainers = with maintainers; [ matthuszagh ];
  };
}