* Fix some more "args: with args".

svn path=/nixpkgs/trunk/; revision=22828
This commit is contained in:
Eelco Dolstra
2010-07-30 14:47:23 +00:00
parent 7835419d8a
commit 4bf5b0d36b
13 changed files with 187 additions and 186 deletions
+13 -12
View File
@@ -1,30 +1,31 @@
# alsaLib vorbisTools python can be made optional
# alsaLib vorbisTools python can be made optional
args:
args.stdenv.mkDerivation {
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, x11 }:
stdenv.mkDerivation {
name = "snack-2.2.10";
src = args.fetchurl {
src = fetchurl {
url = http://www.speech.kth.se/snack/dist/snack2.2.10.tar.gz;
sha256 = "07p89jv9qnjqkszws9sssq93ayvwpdnkcxrvyicbm4mb8x2pdzjb";
};
configureFlags = "--with-tcl=${args.tcl}/lib --with-tk=${args.tk}/lib";
configureFlags = "--with-tcl=${tcl}/lib --with-tk=${tk}/lib";
postUnpack=''sourceRoot="$sourceRoot/unix"'';
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
buildInputs =(with args; [python tcl tk vorbisTools pkgconfig x11]);
buildInputs = [ python tcl tk vorbisTools pkgconfig x11 ];
postInstall="aoeu";
postInstall = "aoeu";
installPhase=''
installPhase = ''
ensureDir $out
make install DESTDIR="$out"
'';
meta = {
description = "The Snack Sound Toolkit (Tcl)";
homepage = "http://www.speech.kth.se/snack/";
license = "GPL-2";
description = "The Snack Sound Toolkit (Tcl)";
homepage = http://www.speech.kth.se/snack/;
license = "GPL-2";
};
}