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";