summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2020-09-26 22:26:56 +0100
committerJon <jonringer@users.noreply.github.com>2020-09-26 18:08:03 -0700
commit704c258ea7beb47e7b2d2f520313f234dae427dc (patch)
treef0441e6a9bff614ba1cac14bd01115b1558ee4f7 /pkgs/development
parentad58fe136c56b617f6111d6675e0fb338e9cc454 (diff)
downloadnixpkgs-704c258ea7beb47e7b2d2f520313f234dae427dc.tar
nixpkgs-704c258ea7beb47e7b2d2f520313f234dae427dc.tar.gz
nixpkgs-704c258ea7beb47e7b2d2f520313f234dae427dc.tar.bz2
nixpkgs-704c258ea7beb47e7b2d2f520313f234dae427dc.tar.lz
nixpkgs-704c258ea7beb47e7b2d2f520313f234dae427dc.tar.xz
nixpkgs-704c258ea7beb47e7b2d2f520313f234dae427dc.tar.zst
nixpkgs-704c258ea7beb47e7b2d2f520313f234dae427dc.zip
pythonPackages.git-annex-adapter: 0.2.1 -> 0.2.2, fix build
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/python-modules/git-annex-adapter/default.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/git-annex-adapter/default.nix b/pkgs/development/python-modules/git-annex-adapter/default.nix
index ba3ff3bfd6c..318bafb98ef 100644
--- a/pkgs/development/python-modules/git-annex-adapter/default.nix
+++ b/pkgs/development/python-modules/git-annex-adapter/default.nix
@@ -1,10 +1,10 @@
 { stdenv, buildPythonPackage, isPy3k, fetchFromGitHub, substituteAll
-, python, utillinux, pygit2, gitMinimal, git-annex
+, python, utillinux, pygit2, gitMinimal, git-annex, cacert
 }:
 
 buildPythonPackage rec {
   pname = "git-annex-adapter";
-  version = "0.2.1";
+  version = "0.2.2";
 
   disabled = !isPy3k;
 
@@ -13,7 +13,7 @@ buildPythonPackage rec {
     owner = "alpernebbi";
     repo = pname;
     rev = "v${version}";
-    sha256 = "146q1jhcfc7f96ajkhjffskkljk2xzivs5ih5clb8qx0sh7mj097";
+    sha256 = "0666vqspgnvmfs6j3kifwyxr6zmxjs0wlwis7br4zcq0gk32zgdx";
   };
 
   patches = [
@@ -28,11 +28,12 @@ buildPythonPackage rec {
     utillinux # `rev` is needed in tests/test_process.py
   ];
 
-  propagatedBuildInputs = [ pygit2 ];
+  propagatedBuildInputs = [ pygit2 cacert ];
 
   checkPhase = ''
     ${python.interpreter} -m unittest
   '';
+  pythonImportsCheck = [ "git_annex_adapter" ];
 
   meta = with stdenv.lib; {
     homepage = "https://github.com/alpernebbi/git-annex-adapter";