From 432467df113250aa9fa77653c1607c7e527d2199 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Wed, 16 Nov 2022 08:05:49 -0800 Subject: [PATCH] python310Packages.check-manifest: fix tests --- .../python-modules/check-manifest/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/python-modules/check-manifest/default.nix b/pkgs/development/python-modules/check-manifest/default.nix index 6c91633e8af0..4b62451ebdd1 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