summary refs log tree commit diff
path: root/pkgs/development/libraries/sonic
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2020-12-27 04:22:00 -0500
committerMario Rodas <marsam@users.noreply.github.com>2020-12-27 04:22:00 -0500
commit7ad26114959eaa2992baf0e15e00ac6aec80868f (patch)
tree624cb7d1432da575b78bfced7b379d241faadaa4 /pkgs/development/libraries/sonic
parentc9e2ce3d837ec9e66a41dd69cd35517e2ed6f919 (diff)
downloadnixpkgs-7ad26114959eaa2992baf0e15e00ac6aec80868f.tar
nixpkgs-7ad26114959eaa2992baf0e15e00ac6aec80868f.tar.gz
nixpkgs-7ad26114959eaa2992baf0e15e00ac6aec80868f.tar.bz2
nixpkgs-7ad26114959eaa2992baf0e15e00ac6aec80868f.tar.lz
nixpkgs-7ad26114959eaa2992baf0e15e00ac6aec80868f.tar.xz
nixpkgs-7ad26114959eaa2992baf0e15e00ac6aec80868f.tar.zst
nixpkgs-7ad26114959eaa2992baf0e15e00ac6aec80868f.zip
sonic: install manpage
Diffstat (limited to 'pkgs/development/libraries/sonic')
-rw-r--r--pkgs/development/libraries/sonic/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/libraries/sonic/default.nix b/pkgs/development/libraries/sonic/default.nix
index 41b88b7f310..a868400c97b 100644
--- a/pkgs/development/libraries/sonic/default.nix
+++ b/pkgs/development/libraries/sonic/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchFromGitHub, fftw }:
+{ stdenv, fetchFromGitHub, fftw, installShellFiles }:
 
 stdenv.mkDerivation {
   pname = "sonic";
@@ -15,8 +15,14 @@ stdenv.mkDerivation {
     sed -i "s,^PREFIX=.*,PREFIX=$out," Makefile
   '';
 
+  nativeBuildInputs = [ installShellFiles ];
+
   buildInputs = [ fftw ];
 
+  postInstall = ''
+    installManPage sonic.1
+  '';
+
   meta = with stdenv.lib; {
     description = "Simple library to speed up or slow down speech";
     homepage = "https://github.com/waywardgeek/sonic";