afew: add manpage
Generate the manpage which was previously missing.
This commit is contained in:
parent
3c57887f64
commit
541b2413b4
|
@ -9,12 +9,22 @@ pythonPackages.buildPythonApplication rec {
|
|||
sha256 = "0105glmlkpkjqbz350dxxasvlfx9dk0him9vwbl86andzi106ygz";
|
||||
};
|
||||
|
||||
buildInputs = with pythonPackages; [ setuptools_scm ];
|
||||
nativeBuildInputs = with pythonPackages; [ sphinx setuptools_scm ];
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
pythonPackages.notmuch chardet dkimpy
|
||||
] ++ stdenv.lib.optional (!pythonPackages.isPy3k) subprocess32;
|
||||
|
||||
postBuild = ''
|
||||
make -C docs man
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
mandir="$out/share/man/man1"
|
||||
mkdir -p "$mandir"
|
||||
cp docs/build/man/* "$mandir"
|
||||
'';
|
||||
|
||||
makeWrapperArgs = [
|
||||
''--prefix PATH ':' "${notmuch}/bin"''
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue