about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorHenri Menke <henri@henrimenke.de>2020-11-25 14:12:17 +0100
committerMatthieu Coudron <teto@users.noreply.github.com>2020-11-25 19:24:20 +0100
commit661712230656a31fdcb4b0e8f4406a2c41197929 (patch)
treeb4499c6497be6aace126bac45b861509f9e5e667 /pkgs/applications
parente204319c740020330cd657c352d7f29b3d432f5a (diff)
gitAndTools.pass-git-helper: 0.4 -> 1.1.0
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix b/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
index 5c4ece7c9e51b..5914378f5b35e 100644
--- a/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
+++ b/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
@@ -1,17 +1,21 @@
-{ stdenv, buildPythonApplication, fetchFromGitHub, pyxdg }:
+{ stdenv, buildPythonApplication, fetchFromGitHub, pyxdg, pytest }:
 
 buildPythonApplication rec {
   pname   = "pass-git-helper";
-  version = "0.4";
+  version = "1.1.0";
 
   src = fetchFromGitHub {
     owner  = "languitar";
     repo   = "pass-git-helper";
-    rev    = version;
-    sha256 = "1zccbmq5l6asl9qm1f90vg9467y3spmv3ayrw07qizrj43yfd9ap";
+    rev    = "v${version}";
+    sha256 = "18nvwlp0w4aqj268wly60rnjzqw2d8jl0hbs6bkwp3hpzzz5g6yd";
   };
 
   propagatedBuildInputs = [ pyxdg ];
+  checkInputs = [ pytest ];
+  preCheck = ''
+    export HOME=$(mktemp -d)
+  '';
 
   meta = with stdenv.lib; {
     homepage = "https://github.com/languitar/pass-git-helper";