Merge pull request #110129 from dotlambda/git-annex-adapter-patch

python3Packages.git-annex-adapter: fix tests
This commit is contained in:
Sandro 2021-01-20 15:11:31 +01:00 committed by GitHub
commit 983fdcb88e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";