1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 14:41:17 +00:00
nixpkgs/pkgs/development/libraries/snack/default.nix
Vladimír Čunát 21e3ff658a x11: replace its usage by xlibsWrapper directly
Scilab note: the parameters already had pointed to nonexistent dirs
before this set of refactoring. But that config wasn't even used by
default.
2015-09-15 12:08:24 +02:00

32 lines
785 B
Nix

# alsaLib vorbisTools python can be made optional
{ stdenv, fetchurl, python, tcl, tk, vorbisTools, pkgconfig, xlibsWrapper }:
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 xlibsWrapper ];
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 = stdenv.lib.licenses.gpl2;
};
}