@@ -1,5 +1,6 @@
1−{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchurl
2−, utillinux, pygit2, gitMinimal, git-annex }:
1+{ stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, fetchpatch
2+, utillinux, pygit2, gitMinimal, git-annex
3+}:
34
45buildPythonPackage rec {
56 pname = "git-annex-adapter";
@@ -22,10 +23,13 @@ buildPythonPackage rec {
2223 '';
2324
2425 # TODO: Remove for next version
25− patches = fetchurl {
26− url = "https://github.com/alpernebbi/git-annex-adapter/commit/9f64c4b99cae7b681820c6c7382e1e40489f4d1e.patch";
27− sha256 = "1hbw8651amjskakvs1wv2msd1wryrq0vpryvbispg5267rs8q7hp";
28− };
26+ patches = [
27+ ./not-a-git-repo-testcase.patch
28+ (fetchpatch {
29+ url = "https://github.com/alpernebbi/git-annex-adapter/commit/9f64c4b99cae7b681820c6c7382e1e40489f4d1e.patch";
30+ sha256 = "0yh66gial6bx7kbl7s7lkzljnkpgvgr8yahqqcq9z76d0w752dir";
31+ })
32+ ];
2933
3034 checkInputs = [
3135 utillinux # `rev` is needed in tests/test_process.py
@@ -43,6 +47,6 @@ buildPythonPackage rec {
4347 homepage = https://github.com/alpernebbi/git-annex-adapter;
4448 description = "Call git-annex commands from Python";
4549 license = licenses.gpl3Plus;
46− maintainers = with maintainers; [ dotlambda ];
50+ maintainers = with maintainers; [ dotlambda ma27 ];
4751 };
4852}