mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-23 14:13:35 +00:00
2f94991628
Using the script in maintainers/scripts/update-redirected-urls.sh
37 lines
908 B
Nix
37 lines
908 B
Nix
# alsa-lib vorbis-tools python can be made optional
|
|
|
|
{ lib, stdenv, fetchurl, python, tcl, tk, vorbis-tools, pkg-config, xlibsWrapper }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "snack";
|
|
version = "2.2.10";
|
|
|
|
src = fetchurl {
|
|
url = "https://www.speech.kth.se/snack/dist/${pname}${version}.tar.gz";
|
|
sha256 = "07p89jv9qnjqkszws9sssq93ayvwpdnkcxrvyicbm4mb8x2pdzjb";
|
|
};
|
|
|
|
configureFlags = [ "--with-tcl=${tcl}/lib" "--with-tk=${tk}/lib" ];
|
|
|
|
postUnpack = ''sourceRoot="$sourceRoot/unix"'';
|
|
|
|
nativeBuildInputs = [ pkg-config ];
|
|
buildInputs = [ python tcl tk vorbis-tools xlibsWrapper ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
postInstall = "aoeu";
|
|
|
|
installPhase = ''
|
|
mkdir -p $out
|
|
make install DESTDIR="$out"
|
|
'';
|
|
|
|
meta = {
|
|
description = "The Snack Sound Toolkit (Tcl)";
|
|
homepage = "https://www.speech.kth.se/snack/";
|
|
license = lib.licenses.gpl2;
|
|
broken = true;
|
|
};
|
|
}
|