python3Packages.git-annex-adapter: fix tests
fixes https://github.com/NixOS/nixpkgs/issues/108588
This commit is contained in:
		
							parent
							
								
									d1bfbb992d
								
							
						
					
					
						commit
						82fc1ec36e
					
				@ -1,4 +1,4 @@
 | 
			
		||||
{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, substituteAll
 | 
			
		||||
{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch, substituteAll
 | 
			
		||||
, python, util-linux, pygit2, gitMinimal, git-annex, cacert
 | 
			
		||||
}:
 | 
			
		||||
 | 
			
		||||
@ -17,6 +17,11 @@ buildPythonPackage rec {
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  patches = [
 | 
			
		||||
    # fix tests with recent versions of git-annex
 | 
			
		||||
    (fetchpatch {
 | 
			
		||||
      url = "https://github.com/alpernebbi/git-annex-adapter/commit/6c210d828e8a57b12c716339ad1bf15c31cd4a55.patch";
 | 
			
		||||
      sha256 = "17kp7pnm9svq9av4q7hfic95xa1w3z02dnr8nmg14sjck2rlmqsi";
 | 
			
		||||
    })
 | 
			
		||||
    (substituteAll {
 | 
			
		||||
      src = ./git-annex-path.patch;
 | 
			
		||||
      gitAnnex = "${git-annex}/bin/git-annex";
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user