Unverified Commit eb4e6ceb authored by jade's avatar jade Committed by GitHub
Browse files

git-revise: macOS: Skip failing GPG test (#385865)

parents 1f102bd0 b5ab55f2
Loading
Loading
Loading
Loading
+14 −5
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  buildPythonPackage,
  pythonOlder,
  git,
@@ -23,10 +24,18 @@ buildPythonPackage rec {

  disabled = pythonOlder "3.8";

  nativeCheckInputs = [
  nativeCheckInputs =
    [
      git
    gnupg
      pytestCheckHook
    ]
    ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [
      gnupg
    ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    # `gpg: agent_genkey failed: No agent running`
    "test_gpgsign"
  ];

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