depot/third_party/nixpkgs/pkgs/applications/version-management/git-and-tools/pass-git-helper/default.nix
Default email cf3f6e7a7d Project import generated by Copybara.
GitOrigin-RevId: 24eb3f87fc610f18de7076aee7c5a84ac5591e3e
2020-11-30 09:33:03 +01:00

26 lines
737 B
Nix

{ stdenv, buildPythonApplication, fetchFromGitHub, pyxdg, pytest }:
buildPythonApplication rec {
pname = "pass-git-helper";
version = "1.1.0";
src = fetchFromGitHub {
owner = "languitar";
repo = "pass-git-helper";
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";
description = "A git credential helper interfacing with pass, the standard unix password manager";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ vanzef ];
};
}