Unverified Commit e6875feb authored by nixpkgs-ci[bot]'s avatar nixpkgs-ci[bot] Committed by GitHub
Browse files

khard: disable man page generation due to upstream issue with sphinx 9 (#502658)

parents 33e6de6e b851c0d7
Loading
Loading
Loading
Loading
+10 −12
Original line number Diff line number Diff line
@@ -2,8 +2,7 @@
  lib,
  python3,
  fetchPypi,
  khard,
  testers,
  versionCheckHook,
}:

python3.pkgs.buildPythonApplication (finalAttrs: {
@@ -19,14 +18,8 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
  build-system = with python3.pkgs; [
    setuptools
    setuptools-scm
    sphinxHook
    sphinx-argparse
    sphinx-autoapi
    sphinx-autodoc-typehints
  ];

  sphinxBuilders = [ "man" ];

  dependencies = with python3.pkgs; [
    configobj
    ruamel-yaml
@@ -39,19 +32,24 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
  '';

  preCheck = ''
    # see https://github.com/scheibler/khard/issues/263
    # see https://github.com/lucc/khard/issues/263
    export COLUMNS=80
  '';

  pythonImportsCheck = [ "khard" ];

  passthru.tests.version = testers.testVersion { package = khard; };
  nativeCheckInputs = [
    versionCheckHook
  ];

  meta = {
    homepage = "https://github.com/scheibler/khard";
    homepage = "https://github.com/lucc/khard";
    description = "Console carddav client";
    license = lib.licenses.gpl3;
    maintainers = with lib.maintainers; [ matthiasbeyer ];
    maintainers = with lib.maintainers; [
      matthiasbeyer
      doronbehar
    ];
    mainProgram = "khard";
  };
})