depot/third_party/nixpkgs/pkgs/applications/version-management/pass-git-helper/default.nix
Luke Granger-Brown f92e137cfb
Some checks failed
/ combine-systems (push) Blocked by required conditions
/ build (x86_64-linux) (push) Failing after 11m44s
/ build (aarch64-linux) (push) Failing after 11m50s
/ build (push) Failing after 16m42s
Merge commit '1e2ed035f4bebc9adad02b365508ad96f7df87c1' into HEAD
2025-03-02 02:23:32 +00:00

48 lines
966 B
Nix

{
lib,
buildPythonApplication,
fetchFromGitHub,
pyxdg,
pytestCheckHook,
pytest-cov-stub,
pytest-mock,
setuptools,
}:
buildPythonApplication rec {
pname = "pass-git-helper";
version = "3.3.0";
pyproject = true;
src = fetchFromGitHub {
owner = "languitar";
repo = "pass-git-helper";
tag = "v${version}";
sha256 = "sha256-Y+Y/WcVY5XrxhLoixWwsi9TMkWsJ+jXbs1rZuzo3MFo=";
};
build-system = [ setuptools ];
dependencies = [ pyxdg ];
env.HOME = "$TMPDIR";
pythonImportsCheck = [ "passgithelper" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
pytest-mock
];
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";
};
}