nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at 21.05 35 lines 810 B view raw
1{ lib 2, fetchPypi 3, buildPythonPackage 4, setuptools_scm 5, cython 6}: 7 8buildPythonPackage rec { 9 pname = "pyclipper"; 10 version = "1.2.1"; 11 12 src = fetchPypi { 13 inherit pname version; 14 extension = "zip"; 15 sha256 = "ca3751e93559f0438969c46f17459d07f983281dac170c3479de56492e152855"; 16 }; 17 18 nativeBuildInputs = [ 19 setuptools_scm 20 cython 21 ]; 22 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" ]; 28 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 }; 35}