pyclipper: init at 1.1.0.post3

This commit is contained in:
Matt Huszagh 2020-04-23 09:05:20 -07:00 committed by Jon
parent 0ab6891b87
commit 51502a7240
2 changed files with 37 additions and 0 deletions

View File

@ -0,0 +1,35 @@
{ stdenv
, fetchPypi
, buildPythonPackage
, setuptools_scm
, cython
}:
buildPythonPackage rec {
pname = "pyclipper";
version = "1.1.0.post3";
src = fetchPypi {
inherit pname version;
extension = "zip";
sha256 = "164yksvqwqvwzh8f8lq92asg87hd8rvcy2xb5vm4y4ccvd5xgb7i";
};
nativeBuildInputs = [
setuptools_scm
cython
];
# Requires pytest_runner to perform tests, which requires deprecated
# features of setuptools. Seems better to not run tests. This should
# be fixed upstream.
doCheck = false;
pythonImportsCheck = [ "pyclipper" ];
meta = with stdenv.lib; {
description = "Cython wrapper for clipper library";
homepage = "https://github.com/fonttools/pyclipper";
license = licenses.mit;
maintainers = with maintainers; [ matthuszagh ];
};
}

View File

@ -1071,6 +1071,8 @@ in {
purl = callPackage ../development/python-modules/purl { };
pyclipper = callPackage ../development/python-modules/pyclipper { };
pymystem3 = callPackage ../development/python-modules/pymystem3 { };
pymysql = callPackage ../development/python-modules/pymysql { };