@@ -1,4 +1,4 @@
1−{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, substituteAll
1+{ lib, stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch, substituteAll
22, python, util-linux, pygit2, gitMinimal, git-annex, cacert
33}:
44
@@ -17,6 +17,11 @@ buildPythonPackage rec {
1717 };
1818
1919 patches = [
20+ # fix tests with recent versions of git-annex
21+ (fetchpatch {
22+ url = "https://github.com/alpernebbi/git-annex-adapter/commit/6c210d828e8a57b12c716339ad1bf15c31cd4a55.patch";
23+ sha256 = "17kp7pnm9svq9av4q7hfic95xa1w3z02dnr8nmg14sjck2rlmqsi";
24+ })
2025 (substituteAll {
2126 src = ./git-annex-path.patch;
2227 gitAnnex = "${git-annex}/bin/git-annex";