3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/python-modules/pyclipper/default.nix

35 lines
703 B
Nix
Raw Normal View History

{ lib
2020-04-23 17:05:20 +01:00
, fetchPypi
, buildPythonPackage
, setuptools-scm
2020-04-23 17:05:20 +01:00
, cython
, pytestCheckHook
, unittest2
2020-04-23 17:05:20 +01:00
}:
buildPythonPackage rec {
pname = "pyclipper";
version = "1.3.0";
2020-04-23 17:05:20 +01:00
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "48a1b5c585aea10e5b9c0b82d6abe2642fafd9ef158b9921852bc4af815ca20c";
2020-04-23 17:05:20 +01:00
};
nativeBuildInputs = [
setuptools-scm
2020-04-23 17:05:20 +01:00
cython
];
checkInputs = [ pytestCheckHook unittest2 ];
2020-04-23 17:05:20 +01:00
pythonImportsCheck = [ "pyclipper" ];
meta = with lib; {
2020-04-23 17:05:20 +01:00
description = "Cython wrapper for clipper library";
homepage = "https://github.com/fonttools/pyclipper";
license = licenses.mit;
maintainers = with maintainers; [ matthuszagh ];
};
}