diff options
author | Artturi <Artturin@artturin.com> | 2022-11-21 22:07:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-21 22:07:05 +0200 |
commit | 53dff5c0285457a5e630ae0c6db3db87fd4c33ff (patch) | |
tree | 8665efe7464fc2b5f1ac660f944280b9534aa883 | |
parent | 550e897a481b769bda516e4543166796fb455b7d (diff) | |
parent | 4ef32c251a5f2d478d11e3e45a56dc8927ce9b84 (diff) |
Merge pull request #202231 from somasis/whipper
whipper: install man pages
-rw-r--r-- | pkgs/applications/audio/whipper/default.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/applications/audio/whipper/default.nix b/pkgs/applications/audio/whipper/default.nix index dfe540f04e65c..e3c4b45224897 100644 --- a/pkgs/applications/audio/whipper/default.nix +++ b/pkgs/applications/audio/whipper/default.nix @@ -2,6 +2,7 @@ , python3 , fetchFromGitHub , fetchpatch +, installShellFiles , libcdio-paranoia , cdrdao , libsndfile @@ -35,6 +36,8 @@ in python3.pkgs.buildPythonApplication rec { ]; nativeBuildInputs = with python3.pkgs; [ + installShellFiles + setuptools-scm docutils setuptoolsCheckHook @@ -65,6 +68,11 @@ in python3.pkgs.buildPythonApplication rec { 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 @@ -73,6 +81,10 @@ in python3.pkgs.buildPythonApplication rec { export HOME=$TMPDIR ''; + postInstall = '' + installManPage man/*.1 + ''; + passthru.tests.version = testers.testVersion { package = whipper; command = "HOME=$TMPDIR whipper --version"; |