Merge pull request #169620 from armeenm/remove-wavesurfer-snack

snack: remove
This commit is contained in:
Bobby Rong 2022-05-02 23:27:50 +08:00 committed by GitHub
commit 8479f4a317
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 72 deletions

View File

@ -1,30 +0,0 @@
{ lib, stdenv, fetchurl, snack, tcl, tk, makeWrapper }:
stdenv.mkDerivation rec {
pname = "wavesurfer";
version = "1.8.5";
src = fetchurl {
url = "https://www.speech.kth.se/wavesurfer/wavesurfer-${version}.tar.gz";
sha256 = "1yx9s1j47cq0v40cwq2gn7bdizpw46l95ba4zl9z4gg31mfvm807";
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ snack tcl tk ];
installPhase = ''
mkdir -p $out/{bin,nix-support,share/wavesurfer/}
mv doc $out/share/wavesurfer
mv * $out/nix-support
ln -s $out/{nix-support,bin}/wavesurfer.tcl
wrapProgram "$out/nix-support/wavesurfer.tcl" \
--set TCLLIBPATH "${snack}/lib" \
--prefix PATH : "${lib.makeBinPath [ tcl tk ]}"
'';
meta = {
description = "Tool for recording, playing, editing, viewing and labeling of audio";
homepage = "https://www.speech.kth.se/wavesurfer/";
license = lib.licenses.bsd0;
};
}

View File

@ -1,36 +0,0 @@
# alsa-lib vorbis-tools python2 can be made optional
{ lib, stdenv, fetchurl, python2, 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 = [ python2 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;
};
}

View File

@ -1182,6 +1182,7 @@ mapAliases ({
slurm-llnl-full = slurm-full; # renamed July 2017
smbclient = throw "'smbclient' has been renamed to/replaced by 'samba'"; # Converted to throw 2022-02-22
smugline = throw "smugline has been removed from nixpkgs, as it's unmaintained and depends on deprecated libraries"; # Added 2020-11-04
snack = throw "snack has been removed: broken for 5+ years"; # Added 2022-04-21
solr_8 = solr; # Added 2021-01-30
# Added 2020-02-10
@ -1352,6 +1353,7 @@ mapAliases ({
### W ###
wavesurfer = throw "wavesurfer has been removed: depended on snack which has been removed"; # Added 2022-04-21
way-cooler = throw "way-cooler is abandoned by its author: https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html"; # Added 2020-01-13
webbrowser = throw "webbrowser was removed because it's unmaintained upstream and was marked as broken in nixpkgs for over a year"; # Added 2022-03-21
webkit = throw "'webkit' has been renamed to/replaced by 'webkitgtk'"; # Converted to throw 2022-02-22

View File

@ -20558,10 +20558,6 @@ with pkgs;
smpeg2 = callPackage ../development/libraries/smpeg2 { };
snack = callPackage ../development/libraries/snack {
# optional
};
snappy = callPackage ../development/libraries/snappy { };
snow = callPackage ../tools/security/snow { };
@ -26354,8 +26350,6 @@ with pkgs;
w_scan = callPackage ../applications/video/w_scan { };
wavesurfer = callPackage ../applications/misc/audio/wavesurfer { };
wavrsocvt = callPackage ../applications/misc/audio/wavrsocvt { };
welle-io = libsForQt5.callPackage ../applications/radio/welle-io { };