git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #110129 from dotlambda/git-annex-adapter-patch

python3Packages.git-annex-adapter: fix tests

commit983fdcb88e0b6b87eb0ee4bbe79bcf5ccef67c55 authorSandro <sandro.jaeckel@gmail.com> dateWed 20 Jan 2021, 15:11 (6 years ago) parentf42137182fc1ec
1 file changed+6−1
pkgs/development/python-modules/git-annex-adapter/default.nix+6−1
pkgs/development/python-modules/git-annex-adapter/default.nix+6−1
@@ -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";