2016-01-26 02:53:13 +03:00
|
|
|
# alsaLib vorbis-tools python can be made optional
|
2008-09-24 04:42:06 +04:00
|
|
|
|
2016-01-26 02:53:13 +03:00
|
|
|
{ stdenv, fetchurl, python, tcl, tk, vorbis-tools, pkgconfig, xlibsWrapper }:
|
2010-07-30 18:47:23 +04:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2008-09-24 04:42:06 +04:00
|
|
|
name = "snack-2.2.10";
|
|
|
|
|
2010-07-30 18:47:23 +04:00
|
|
|
src = fetchurl {
|
2008-09-24 04:42:06 +04:00
|
|
|
url = http://www.speech.kth.se/snack/dist/snack2.2.10.tar.gz;
|
|
|
|
sha256 = "07p89jv9qnjqkszws9sssq93ayvwpdnkcxrvyicbm4mb8x2pdzjb";
|
|
|
|
};
|
|
|
|
|
2010-07-30 18:47:23 +04:00
|
|
|
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib";
|
2008-09-24 04:42:06 +04:00
|
|
|
|
2010-07-30 18:47:23 +04:00
|
|
|
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
|
2008-09-24 04:42:06 +04:00
|
|
|
|
2016-01-26 02:53:13 +03:00
|
|
|
buildInputs = [ python tcl tk vorbis-tools pkgconfig xlibsWrapper ];
|
2008-09-24 04:42:06 +04:00
|
|
|
|
2010-07-30 18:47:23 +04:00
|
|
|
postInstall = "aoeu";
|
2008-09-24 04:42:06 +04:00
|
|
|
|
2010-07-30 18:47:23 +04:00
|
|
|
installPhase = ''
|
2012-01-19 00:16:00 +04:00
|
|
|
mkdir -p $out
|
2008-09-24 04:42:06 +04:00
|
|
|
make install DESTDIR="$out"
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2010-07-30 18:47:23 +04:00
|
|
|
description = "The Snack Sound Toolkit (Tcl)";
|
|
|
|
homepage = http://www.speech.kth.se/snack/;
|
2014-06-19 08:19:00 +04:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2008-09-24 04:42:06 +04:00
|
|
|
};
|
|
|
|
}
|