git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.git-annex-adapter: fix tests

fixes https://github.com/NixOS/nixpkgs/issues/108588

commit82fc1ec36e9c43b0d2ba1a3e7df938fc78c046ac authorRobert Schütz <dev@schuetz-co.de> dateWed 20 Jan 2021, 11:29 (6 years ago) parentd1bfbb9
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";