3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
758 B
Nix
Raw Normal View History

{ lib, buildPythonApplication, fetchFromGitHub, pyxdg, pytest, pytest-mock }:
buildPythonApplication rec {
pname = "pass-git-helper";
2022-03-07 14:17:32 +00:00
version = "1.2.0";
src = fetchFromGitHub {
owner = "languitar";
repo = "pass-git-helper";
rev = "v${version}";
2022-03-07 14:17:32 +00:00
sha256 = "sha256-An9JKnS/Uor7iZ+lbBGR3eOkxOgV+SjnCWN/QmqFI/I=";
};
propagatedBuildInputs = [ pyxdg ];
checkInputs = [ pytest pytest-mock ];
preCheck = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
homepage = "https://github.com/languitar/pass-git-helper";
description = "A git credential helper interfacing with pass, the standard unix password manager";
license = licenses.gpl3Plus;
2021-09-24 20:12:08 +01:00
maintainers = with maintainers; [ hmenke vanzef ];
};
}