Skip to content

Commit eb4e6ce

Browse files
authored
git-revise: macOS: Skip failing GPG test (#385865)
2 parents 1f102bd + b5ab55f commit eb4e6ce

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

pkgs/development/python-modules/git-revise/default.nix

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
lib,
3+
stdenv,
34
buildPythonPackage,
45
pythonOlder,
56
git,
@@ -23,10 +24,18 @@ buildPythonPackage rec {
2324

2425
disabled = pythonOlder "3.8";
2526

26-
nativeCheckInputs = [
27-
git
28-
gnupg
29-
pytestCheckHook
27+
nativeCheckInputs =
28+
[
29+
git
30+
pytestCheckHook
31+
]
32+
++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
33+
gnupg
34+
];
35+
36+
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
37+
# `gpg: agent_genkey failed: No agent running`
38+
"test_gpgsign"
3039
];
3140

3241
meta = with lib; {
@@ -35,6 +44,6 @@ buildPythonPackage rec {
3544
changelog = "https://github.com/mystor/git-revise/blob/${version}/CHANGELOG.md";
3645
license = licenses.mit;
3746
mainProgram = "git-revise";
38-
maintainers = with maintainers; [ emily ];
47+
maintainers = with maintainers; [ _9999years ];
3948
};
4049
}

0 commit comments

Comments
 (0)