Commit 9e1ec59a authored by Doron Behar's avatar Doron Behar
Browse files

khard: bring back man page generations with proper upstream fix

This sort of reverts commit b851c0d7 .
parent a7dafbb4
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@
  stdenv,
  python3,
  fetchFromGitHub,
  fetchpatch,
  versionCheckHook,
}:

@@ -18,11 +19,24 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
    hash = "sha256-5ZKLOwoAzY36htMzMLpdwn1Xo34rGe56+TFuHRfFB9Q=";
  };

  patches = [
    (fetchpatch {
      url = "https://github.com/lucc/khard/commit/4e07412b8870f210409077a925d74ae47152a80c.patch";
      hash = "sha256-tApB1xYLBHV/XQ73ITJjKxCjOz6DNPDsKXn8f7KQZRc=";
    })
  ];

  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