sonic: install manpage

This commit is contained in:
Mario Rodas 2020-12-27 04:22:00 -05:00
parent c9e2ce3d83
commit 7ad2611495

View file

@ -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";