about summary refs log tree commit diff
path: root/pkgs/development/python-modules/check-manifest
diff options
context:
space:
mode:
authorRobert Schütz <nix@dotlambda.de>2022-11-16 08:05:49 -0800
committerRobert Schütz <nix@dotlambda.de>2022-11-16 08:05:49 -0800
commit432467df113250aa9fa77653c1607c7e527d2199 (patch)
treef3681853f2ca7e3afb5f12a9b52db235a6583af5 /pkgs/development/python-modules/check-manifest
parent2f71de984e97992d223f821e63279f87cc4b4e31 (diff)
python310Packages.check-manifest: fix tests
Diffstat (limited to 'pkgs/development/python-modules/check-manifest')
-rw-r--r--pkgs/development/python-modules/check-manifest/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/check-manifest/default.nix b/pkgs/development/python-modules/check-manifest/default.nix
index 6c91633e8af05..4b62451ebdd1b 100644
--- a/pkgs/development/python-modules/check-manifest/default.nix
+++ b/pkgs/development/python-modules/check-manifest/default.nix
@@ -3,6 +3,7 @@
 , build
 , buildPythonPackage
 , fetchPypi
+, fetchpatch
 , git
 , mock
 , pep517
@@ -23,6 +24,14 @@ buildPythonPackage rec {
     hash = "sha256-O1dfHa3nvrMHjvS/M6lFGYNEV8coHbxyaxXFRmtVxlc=";
   };
 
+  patches = [
+    # Fix git submodule tests using file: protocol
+    (fetchpatch {
+      url = "https://github.com/mgedmin/check-manifest/pull/159.patch";
+      hash = "sha256-CDtuIoHgP4THLt+xF32C/OrjakwPOEVTKUh5JuQB5wM=";
+    })
+  ];
+
   propagatedBuildInputs = [
     build
     pep517