commit 027812c4db636e0bd5fbde67ee5f28722572cc83
parent 2fb19a78cd1537304fc2cd420211a94fc02b1c94
Author: Nikolay Korotkiy <sikmir@disroot.org>
Date: Sun, 22 Sep 2024 15:02:10 +0400
Fix gpx-converter, pyrobuf
Diffstat:
2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/pkgs/gpx/gpx-converter/default.nix b/pkgs/gpx/gpx-converter/default.nix
@@ -15,6 +15,11 @@ python3Packages.buildPythonApplication {
hash = "sha256-bT94phfkJiOQ8rZn783qOmIph6ck27z18rQQby9uEeg=";
};
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace-fail "'pytest-runner'," ""
+ '';
+
dependencies = with python3Packages; [
gpxpy
numpy
@@ -23,7 +28,6 @@ python3Packages.buildPythonApplication {
nativeCheckInputs = with python3Packages; [
pytestCheckHook
- pytest-runner
];
disabledTests = [ "test_gpx_to_dictionary" ];
diff --git a/pkgs/osm/pyrobuf/default.nix b/pkgs/osm/pyrobuf/default.nix
@@ -15,9 +15,13 @@ python3Packages.buildPythonPackage {
hash = "sha256-7NEzRM9B/9f5ODNzDKws7t/9gqbJK7T9AuET+pT26P0=";
};
+ postPatch = ''
+ substituteInPlace setup.py \
+ --replace-fail ", 'pytest-runner'" ""
+ '';
+
nativeBuildInputs = with python3Packages; [
cython
- pytest-runner
];
dependencies = with python3Packages; [ jinja2 ];