fahcontrol: drop

The build fails with

    error: cannot download fahcontrol_7.6.21-1_all.deb from any mirror
This commit is contained in:
Robert Schütz 2024-09-24 10:08:01 -07:00
parent 5620491106
commit ac307ce07e
3 changed files with 1 additions and 58 deletions

View File

@ -1,57 +0,0 @@
{ lib, stdenv
, dpkg
, fahviewer
, fetchurl
, makeWrapper
, python2
}:
let
majMin = lib.versions.majorMinor version;
version = "7.6.21";
python = python2.withPackages
(
ps: [
ps.pycairo
ps.pygobject2
ps.pygtk
]
);
in
stdenv.mkDerivation rec {
inherit version;
pname = "fahcontrol";
src = fetchurl {
url = "https://download.foldingathome.org/releases/public/release/fahcontrol/debian-stable-64bit/v${majMin}/fahcontrol_${version}-1_all.deb";
sha256 = "1vfrdqkrvdlyxaw3f6z92w5dllrv6810lmf8yhcmjcwmphipvf71";
};
nativeBuildInputs = [
dpkg
makeWrapper
];
buildInputs = [ fahviewer python ];
unpackPhase = ''
dpkg-deb -x ${src} ./
'';
installPhase = "cp -ar usr $out";
postFixup = ''
sed -e "s|/usr/bin|$out/bin|g" -i $out/share/applications/FAHControl.desktop
wrapProgram "$out/bin/FAHControl" \
--suffix PATH : "${fahviewer.outPath}/bin" \
--set PYTHONPATH "$out/lib/python2.7/dist-packages"
'';
meta = {
description = "Folding@home control";
homepage = "https://foldingathome.org/";
license = lib.licenses.unfree;
maintainers = [ lib.maintainers.zimbatm ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -453,6 +453,7 @@ mapAliases {
### F ###
fahcontrol = throw "fahcontrol 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 { };
fahcontrol = callPackage ../applications/science/misc/foldingathome/control.nix { };
fahviewer = callPackage ../applications/science/misc/foldingathome/viewer.nix { };
fbmark = callPackage ../tools/misc/fbmark { };