Merge pull request #202231 from somasis/whipper

whipper: install man pages

Artturi 53dff5c0 550e897a

Changed files
+12
pkgs
applications
audio
whipper
+12
pkgs/applications/audio/whipper/default.nix
···
, python3
, fetchFromGitHub
, fetchpatch
, libcdio-paranoia
, cdrdao
, libsndfile
···
];
nativeBuildInputs = with python3.pkgs; [
setuptools-scm
docutils
setuptoolsCheckHook
···
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
'';
preCheck = ''
# disable tests that require internet access
# https://github.com/JoeLametta/whipper/issues/291
substituteInPlace whipper/test/test_common_accurip.py \
--replace "test_AccurateRipResponse" "dont_test_AccurateRipResponse"
export HOME=$TMPDIR
'';
passthru.tests.version = testers.testVersion {
···
, python3
, fetchFromGitHub
, fetchpatch
+
, installShellFiles
, libcdio-paranoia
, cdrdao
, libsndfile
···
];
nativeBuildInputs = with python3.pkgs; [
+
installShellFiles
+
setuptools-scm
docutils
setuptoolsCheckHook
···
export SETUPTOOLS_SCM_PRETEND_VERSION="${version}"
'';
+
outputs = [ "out" "man" ];
+
postBuild = ''
+
make -C man
+
'';
+
preCheck = ''
# disable tests that require internet access
# https://github.com/JoeLametta/whipper/issues/291
substituteInPlace whipper/test/test_common_accurip.py \
--replace "test_AccurateRipResponse" "dont_test_AccurateRipResponse"
export HOME=$TMPDIR
+
'';
+
+
postInstall = ''
+
installManPage man/*.1
'';
passthru.tests.version = testers.testVersion {