aboutsummaryrefslogtreecommitdiff
path: root/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix')
-rw-r--r--infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix12
1 files changed, 8 insertions, 4 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix b/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
index 5c4ece7c9e51..5914378f5b35 100644
--- a/infra/libkookie/nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
+++ b/infra/libkookie/nixpkgs/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";