sonic: 2016-03-01 -> 2018-07-06

This commit is contained in:
Kirill Boltaev 2019-12-08 12:18:58 +03:00
parent 3140fa89c5
commit 268d993b3b

View File

@ -1,20 +1,22 @@
{ stdenv, fetchFromGitHub }: { stdenv, fetchFromGitHub, fftw }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "sonic"; pname = "sonic";
version = "2016-03-01"; version = "2018-07-06";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "waywardgeek"; owner = "waywardgeek";
repo = "sonic"; repo = "sonic";
rev = "71bdf26c55716a45af50c667c0335a9519e952dd"; rev = "71c51195de71627d7443d05378c680ba756545e8";
sha256 = "1kcl8fdf92kafmfhvyjal5gvkn99brkjyzbi9gw3rd5b30m3xz2b"; sha256 = "1z9qdk3pk507hdg39v2z1hanlw2wv7mhn8br4cb8qry9z9qwi87i";
}; };
postPatch = '' postPatch = ''
sed -i "s,^PREFIX=.*,PREFIX=$out," Makefile sed -i "s,^PREFIX=.*,PREFIX=$out," Makefile
''; '';
buildInputs = [ fftw ];
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Simple library to speed up or slow down speech"; description = "Simple library to speed up or slow down speech";
homepage = https://github.com/waywardgeek/sonic; homepage = https://github.com/waywardgeek/sonic;