2019-12-08 09:18:58 +00:00
|
|
|
{ stdenv, fetchFromGitHub, fftw }:
|
2016-09-05 00:37:52 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "sonic";
|
2019-12-08 09:18:58 +00:00
|
|
|
version = "2018-07-06";
|
2016-09-05 00:37:52 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "waywardgeek";
|
|
|
|
repo = "sonic";
|
2019-12-08 09:18:58 +00:00
|
|
|
rev = "71c51195de71627d7443d05378c680ba756545e8";
|
|
|
|
sha256 = "1z9qdk3pk507hdg39v2z1hanlw2wv7mhn8br4cb8qry9z9qwi87i";
|
2016-09-05 00:37:52 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
postPatch = ''
|
|
|
|
sed -i "s,^PREFIX=.*,PREFIX=$out," Makefile
|
|
|
|
'';
|
|
|
|
|
2019-12-08 09:18:58 +00:00
|
|
|
buildInputs = [ fftw ];
|
|
|
|
|
2016-09-05 00:37:52 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Simple library to speed up or slow down speech";
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = https://github.com/waywardgeek/sonic;
|
2016-09-05 00:37:52 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ aske ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|