whipper: install man pages
This commit is contained in:
parent
6c050a5374
commit
4ef32c251a
|
@ -2,6 +2,7 @@
|
||||||
, python3
|
, python3
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, fetchpatch
|
, fetchpatch
|
||||||
|
, installShellFiles
|
||||||
, libcdio-paranoia
|
, libcdio-paranoia
|
||||||
, cdrdao
|
, cdrdao
|
||||||
, libsndfile
|
, libsndfile
|
||||||
|
@ -35,6 +36,8 @@ in python3.pkgs.buildPythonApplication rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = with python3.pkgs; [
|
nativeBuildInputs = with python3.pkgs; [
|
||||||
|
installShellFiles
|
||||||
|
|
||||||
setuptools-scm
|
setuptools-scm
|
||||||
docutils
|
docutils
|
||||||
setuptoolsCheckHook
|
setuptoolsCheckHook
|
||||||
|
@ -65,6 +68,11 @@ in python3.pkgs.buildPythonApplication rec {
|
||||||
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
outputs = [ "out" "man" ];
|
||||||
|
postBuild = ''
|
||||||
|
make -C man
|
||||||
|
'';
|
||||||
|
|
||||||
preCheck = ''
|
preCheck = ''
|
||||||
# disable tests that require internet access
|
# disable tests that require internet access
|
||||||
# https://github.com/JoeLametta/whipper/issues/291
|
# https://github.com/JoeLametta/whipper/issues/291
|
||||||
|
@ -73,6 +81,10 @@ in python3.pkgs.buildPythonApplication rec {
|
||||||
export HOME=$TMPDIR
|
export HOME=$TMPDIR
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
installManPage man/*.1
|
||||||
|
'';
|
||||||
|
|
||||||
passthru.tests.version = testers.testVersion {
|
passthru.tests.version = testers.testVersion {
|
||||||
package = whipper;
|
package = whipper;
|
||||||
command = "HOME=$TMPDIR whipper --version";
|
command = "HOME=$TMPDIR whipper --version";
|
||||||
|
|
Loading…
Reference in a new issue