pass-git-helper: 2.0.0 -> 3.0.0 (#345072)

This commit is contained in:
OTABI Tomoya 2024-10-06 18:06:07 +09:00 committed by GitHub
commit 2cc5fb7003
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,21 +1,30 @@
{ lib, buildPythonApplication, fetchFromGitHub, pyxdg, pytest, pytest-mock }: { lib, buildPythonApplication, fetchFromGitHub, pyxdg, pytestCheckHook, pytest-cov-stub, pytest-mock, setuptools }:
buildPythonApplication rec { buildPythonApplication rec {
pname = "pass-git-helper"; pname = "pass-git-helper";
version = "2.0.0"; version = "3.0.0";
pyproject = true;
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "languitar"; owner = "languitar";
repo = "pass-git-helper"; repo = "pass-git-helper";
rev = "refs/tags/v${version}"; rev = "refs/tags/v${version}";
sha256 = "sha256-IpMaCG6kPNrWtcl10Lh7A3PyIF4Mk0t2wLYON+zMLsE="; sha256 = "sha256-DLH3l4wYfBlrc49swLgyHeZXebJ5JSzU7cHjD7Hmw0g=";
}; };
propagatedBuildInputs = [ pyxdg ]; build-system = [ setuptools ];
nativeCheckInputs = [ pytest pytest-mock ];
preCheck = '' dependencies = [ pyxdg ];
export HOME=$(mktemp -d)
''; env.HOME = "$TMPDIR";
pythonImportsCheck = [ "passgithelper" ];
nativeCheckInputs = [
pytestCheckHook
pytest-cov-stub
pytest-mock
];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/languitar/pass-git-helper"; homepage = "https://github.com/languitar/pass-git-helper";