python3.pkgs.polyline: relax build dependencies

This commit is contained in:
Theodore Ni
2023-08-23 17:20:05 -07:00
parent 42926ea7d8
commit 269bf5083d
@@ -1,9 +1,11 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, pythonOlder
, setuptools
, wheel
}:
buildPythonPackage rec {
@@ -20,6 +22,15 @@ buildPythonPackage rec {
hash = "sha256-e9ZDqcS3MaMlXi2a2JHI6NtRPqIV7rjsucGXEH6V8LA=";
};
patches = [
# https://github.com/frederickjansen/polyline/pull/15
(fetchpatch {
name = "relax-build-dependencies.patch";
url = "https://github.com/frederickjansen/polyline/commit/cb9fc80606c33dbbcaa0d94de25ae952358443b6.patch";
hash = "sha256-epg2pZAG+9QuICa1ms+/EO2DDmYEz+KEtxxnvG7rsWY=";
})
];
postPatch = ''
substituteInPlace pyproject.toml \
--replace " --cov=polyline --cov-report term-missing" ""
@@ -27,6 +38,7 @@ buildPythonPackage rec {
nativeBuildInputs = [
setuptools
wheel
];
nativeCheckInputs = [