fahviewer: drop

The build fails with

    error: cannot download fahviewer_7.6.21_amd64.deb from any mirror
This commit is contained in:
Robert Schütz 2024-09-24 10:17:42 -07:00
parent ac307ce07e
commit 7af822248d
3 changed files with 1 additions and 57 deletions

View File

@ -1,56 +0,0 @@
{ lib, stdenv
, autoPatchelfHook
, dpkg
, fetchurl
, libglut
, gcc-unwrapped
, libGL
, libGLU
, makeWrapper
, zlib
}:
let
majMin = lib.versions.majorMinor version;
version = "7.6.21";
in
stdenv.mkDerivation rec {
inherit version;
pname = "fahviewer";
src = fetchurl {
url = "https://download.foldingathome.org/releases/public/release/fahviewer/debian-stable-64bit/v${majMin}/fahviewer_${version}_amd64.deb";
sha256 = "00fd00pf6fcpplcaahvy9ir60mk69d9rcmwsyq3jrv9mxqm9aq7p";
};
nativeBuildInputs = [
autoPatchelfHook
dpkg
makeWrapper
];
buildInputs = [
libglut
gcc-unwrapped.lib
libGL
libGLU
zlib
];
unpackPhase = ''
dpkg-deb -x ${src} ./
sed -e "s|/usr/bin|$out/bin|g" -i usr/share/applications/FAHViewer.desktop
'';
installPhase = ''
cp -ar usr $out
'';
meta = {
description = "Folding@home viewer";
homepage = "https://foldingathome.org/";
sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.zimbatm ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -454,6 +454,7 @@ mapAliases {
### F ###
fahcontrol = throw "fahcontrol has been removed because the download is no longer available"; # added 2024-09-24
fahviewer = throw "fahviewer has been removed because the download is no longer available"; # added 2024-09-24
fam = throw "'fam' (aliased to 'gamin') has been removed as it is unmaintained upstream"; # Added 2024-04-19
fancypp = throw "'fancypp' was removed because it and its dependants are unmaintained"; # Added 2024-02-14
faustStk = faustPhysicalModeling; # Added 2023-05-16

View File

@ -37549,7 +37549,6 @@ with pkgs;
flockit = callPackage ../tools/backup/flockit { };
fahclient = callPackage ../applications/science/misc/foldingathome/client.nix { };
fahviewer = callPackage ../applications/science/misc/foldingathome/viewer.nix { };
fbmark = callPackage ../tools/misc/fbmark { };