2010-07-30 16:47:23 +02:00
|
|
|
# alsaLib vorbisTools python can be made optional
|
2008-09-24 02:42:06 +02:00
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, x11 }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-09-24 02:42:06 +02:00
|
|
|
name = "snack-2.2.10";
|
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
src = fetchurl {
|
2008-09-24 02:42:06 +02:00
|
|
|
url = http://www.speech.kth.se/snack/dist/snack2.2.10.tar.gz;
|
|
|
|
sha256 = "07p89jv9qnjqkszws9sssq93ayvwpdnkcxrvyicbm4mb8x2pdzjb";
|
|
|
|
};
|
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib";
|
2008-09-24 02:42:06 +02:00
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
|
2008-09-24 02:42:06 +02:00
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
buildInputs = [ python tcl tk vorbisTools pkgconfig x11 ];
|
2008-09-24 02:42:06 +02:00
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
postInstall = "aoeu";
|
2008-09-24 02:42:06 +02:00
|
|
|
|
2010-07-30 16:47:23 +02:00
|
|
|
installPhase = ''
|
2008-09-24 02:42:06 +02:00
|
|
|
ensureDir $out
|
|
|
|
make install DESTDIR="$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2010-07-30 16:47:23 +02:00
|
|
|
description = "The Snack Sound Toolkit (Tcl)";
|
|
|
|
homepage = http://www.speech.kth.se/snack/;
|
|
|
|
license = "GPL-2";
|
2008-09-24 02:42:06 +02:00
|
|
|
};
|
|
|
|
}
|