nixpkgs/pkgs/applications/version-management/pass-git-helper/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

28 lines
806 B
Nix

{ lib, buildPythonApplication, fetchFromGitHub, pyxdg, pytest, pytest-mock }:
buildPythonApplication rec {
pname = "pass-git-helper";
version = "2.0.0";
src = fetchFromGitHub {
owner = "languitar";
repo = "pass-git-helper";
rev = "refs/tags/v${version}";
sha256 = "sha256-IpMaCG6kPNrWtcl10Lh7A3PyIF4Mk0t2wLYON+zMLsE=";
};
propagatedBuildInputs = [ pyxdg ];
nativeCheckInputs = [ pytest pytest-mock ];
preCheck = ''
export HOME=$(mktemp -d)
'';
meta = with lib; {
homepage = "https://github.com/languitar/pass-git-helper";
description = "Git credential helper interfacing with pass, the standard unix password manager";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ hmenke vanzef ];
mainProgram = "pass-git-helper";
};
}