3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #204504 from r-ryantm/auto-update/python3.10-mapbox-earcut

python310Packages.mapbox-earcut: 1.0.0 -> 1.0.1
This commit is contained in:
Fabian Affolter 2022-12-05 18:23:18 +01:00 committed by GitHub
commit 21aba1cdd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,29 +6,43 @@
, pybind11
, pytestCheckHook
, setuptools
, pythonOlder
}:
buildPythonPackage rec {
pname = "mapbox-earcut";
version = "1.0.0";
version = "1.0.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "skogler";
repo = "mapbox_earcut_python";
rev = "v${version}";
sha256 = "m4q2qTL55fkdi3hm75C3/XV9SUQkpJS+B5SEgpPEctk=";
rev = "refs/tags/v${version}";
hash = "sha256-+Vxvo++bkoCsJFmt/u1eaqhgpz8Uddz06iIi66ju+MQ=";
};
nativeBuildInputs = [ setuptools pybind11 ];
nativeBuildInputs = [
setuptools
pybind11
];
propagatedBuildInputs = [ numpy ];
propagatedBuildInputs = [
numpy
];
checkInputs = [ pytestCheckHook ];
checkInputs = [
pytestCheckHook
];
pythonImportsCheck = [ "mapbox_earcut" ];
pythonImportsCheck = [
"mapbox_earcut"
];
meta = with lib; {
homepage = "https://github.com/skogler/mapbox_earcut_python";
changelog = "https://github.com/skogler/mapbox_earcut_python/releases/tag/v${version}";
license = licenses.isc;
description = "Mapbox-earcut fast triangulation of 2D-polygons";
longDescription = ''