forked from mirrors/nixpkgs
c556a6ea46
function, so obsolete it. svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
32 lines
750 B
Nix
32 lines
750 B
Nix
# alsaLib vorbisTools python can be made optional
|
|
|
|
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, x11 }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "snack-2.2.10";
|
|
|
|
src = fetchurl {
|
|
url = http://www.speech.kth.se/snack/dist/snack2.2.10.tar.gz;
|
|
sha256 = "07p89jv9qnjqkszws9sssq93ayvwpdnkcxrvyicbm4mb8x2pdzjb";
|
|
};
|
|
|
|
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib";
|
|
|
|
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
|
|
|
|
buildInputs = [ python tcl tk vorbisTools pkgconfig x11 ];
|
|
|
|
postInstall = "aoeu";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
make install DESTDIR="$out"
|
|
'';
|
|
|
|
meta = {
|
|
description = "The Snack Sound Toolkit (Tcl)";
|
|
homepage = http://www.speech.kth.se/snack/;
|
|
license = "GPL-2";
|
|
};
|
|
}
|