sweep-visualizer: Remove
`meta.homepage` links to a nonexistent subdomain and https://scanse.io/downloads still only has instructions for ancient Ubuntu 14.04. This package has not seen updates in years and likely never will. It depends on GNOME2/GTK2 which will go eventually. It is also marked as unfree, so there's even less incentive to keep such dead software around. It crashes on start: ``` $ NIXPKGS_ALLOW_UNFREE=1 nix-shell -p sweep-visualizer ... $ sweep_visualizer Segmentation fault (core dumped) ``` See #39976.
This commit is contained in:
parent
93d3ee74a1
commit
7817ca4aa7
|
@ -1,59 +0,0 @@
|
|||
{ stdenv, lib, makeWrapper, fetchurl,
|
||||
alsa-lib, atk, cairo, cups, dbus, expat, fontconfig, freetype, gdk-pixbuf, glib,
|
||||
gnome2, pango, gtk2-x11, nspr, nss,
|
||||
libX11, libxcb, libXcomposite, libXcursor, libXdamage, libXext, libXfixes,
|
||||
libXi, libXrandr, libXrender, libXScrnSaver, libXtst,
|
||||
libudev0-shim
|
||||
}:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "sweep-visualizer";
|
||||
version = "0.15.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://s3.amazonaws.com/scanse/Visualizer/v${version}/sweepvisualizer_${version}_amd64.deb";
|
||||
sha256 = "1k6rdjw2340qrzafv6hjxvbvyh3s1wad6d3629nchdcrpyx9xy1c";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ makeWrapper ];
|
||||
|
||||
sourceRoot = ".";
|
||||
unpackCmd = ''
|
||||
ar p "$src" data.tar.xz | tar xJ
|
||||
'';
|
||||
|
||||
dontBuild = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/share/sweep-visualizer
|
||||
mv usr/share/* $out/share
|
||||
mv opt/Sweep\ Visualizer\ BETA/* $out/share/sweep-visualizer/
|
||||
ln -s $out/share/sweep-visualizer/sweep_visualizer $out/bin/sweep_visualizer
|
||||
'';
|
||||
|
||||
preFixup = let
|
||||
libPath = lib.makeLibraryPath [
|
||||
alsa-lib atk cairo cups.lib dbus.lib expat fontconfig.lib freetype
|
||||
gdk-pixbuf glib gnome2.GConf pango gtk2-x11 nspr nss stdenv.cc.cc.lib
|
||||
libX11 libxcb libXcomposite libXcursor libXdamage libXext libXfixes
|
||||
libXi libXrandr libXrender libXScrnSaver libXtst
|
||||
];
|
||||
runtimeLibs = lib.makeLibraryPath [ libudev0-shim ];
|
||||
in ''
|
||||
for lib in $out/share/sweep-visualizer/*.so; do
|
||||
patchelf --set-rpath "$out/share/sweep-visualizer:${libPath}" $lib
|
||||
done
|
||||
patchelf \
|
||||
--set-interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" \
|
||||
--set-rpath "$out/share/sweep-visualizer:${libPath}" \
|
||||
$out/share/sweep-visualizer/sweep_visualizer
|
||||
wrapProgram "$out/bin/sweep_visualizer" --prefix LD_LIBRARY_PATH : ${runtimeLibs}
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://support.scanse.io/hc/en-us/articles/115006008948-Visualizer-Overview";
|
||||
description = "A minimal desktop application for interfacing with the Sweep device";
|
||||
license = licenses.unfree;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = with maintainers; [ mt-caret ];
|
||||
};
|
||||
}
|
|
@ -1327,6 +1327,7 @@ mapAliases ({
|
|||
sundials_3 = throw "sundials_3 was removed in 2020-02. outdated and no longer needed";
|
||||
surf-webkit2 = throw "'surf-webkit2' has been renamed to/replaced by 'surf'"; # Converted to throw 2022-02-22
|
||||
swec = throw "swec has been removed; broken and abandoned upstream"; # Added 2021-10-14
|
||||
sweep-visualizer = throw "'sweep-visualizer' is abondoned upstream and depends on deprecated GNOME2/GTK2"; # Added 2022-06-15
|
||||
swfdec = throw "swfdec has been removed as broken and unmaintained"; # Added 2020-08-23
|
||||
swtpm-tpm2 = swtpm; # Added 2021-02-26
|
||||
syncthing-cli = syncthing; # Added 2021-04-06
|
||||
|
|
|
@ -4282,8 +4282,6 @@ with pkgs;
|
|||
|
||||
swappy = callPackage ../applications/misc/swappy { gtk = gtk3; };
|
||||
|
||||
sweep-visualizer = callPackage ../tools/misc/sweep-visualizer { };
|
||||
|
||||
swego = callPackage ../servers/swego { };
|
||||
|
||||
sydbox = callPackage ../os-specific/linux/sydbox { };
|
||||
|
|
Loading…
Reference in a new issue