fahclient: 8.1.18 -> 8.3.1 (#281830)

* fahclient: 8.1.18 -> 8.3.1

* Update pkgs/applications/science/misc/foldingathome/client.nix

Co-authored-by: Robert Schütz <github@dotlambda.de>

* Update pkgs/applications/science/misc/foldingathome/client.nix

Co-authored-by: Robert Schütz <github@dotlambda.de>

---------

Co-authored-by: Robert Schütz <github@dotlambda.de>
This commit is contained in:
Jonas Chevalier 2024-01-29 18:17:16 +01:00 committed by GitHub
parent 7ba3caea70
commit b1e30d76d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,13 +8,13 @@
, extraPkgs ? [ ]
}:
let
version = "8.1.18";
version = "8.3.1";
cbangSrc = fetchFromGitHub {
owner = "cauldrondevelopmentllc";
repo = "cbang";
rev = "bastet-v${version}";
hash = "sha256-G0rknVmZiyC4sRTOowFjf7EQ5peGf+HLPPcLWXXFlX4=";
hash = "sha256-cuyfJG5aDJ6e2SllxwKTViG0j8FWHvjcTaaBBtkgEdU=";
};
fah-client = stdenv.mkDerivation {
@ -25,7 +25,7 @@ let
owner = "FoldingAtHome";
repo = "fah-client-bastet";
rev = "v${version}";
hash = "sha256-IgT/5NqCwN8N8OObjtASuT4IRb2EN4bdixxUdjiyddI=";
hash = "sha256-Ztc2im4Xmk8f6GotGRgA5zDkcyQFnodUvroJVl+ApT4=";
};
nativeBuildInputs = [ scons ];
@ -45,14 +45,15 @@ let
installPhase = ''
runHook preInstall
mkdir -p $out/{bin,share/applications,share/feh-client}
mkdir -p $out/{bin,share/applications}
cp fah-client $out/bin/fah-client
cp install/lin/fah-client.desktop $out/share/applications/
cp -r images $out/share/feh-client/
sed -e "s|Icon=.*|Icon=$out/share/feh-client/images/fahlogo.png|g" -i $out/share/applications/fah-client.desktop
cp install/lin/fah-client.desktop.in $out/share/applications/fah-client.desktop
sed \
-e "s|Icon=.*|Icon=$out/share/feh-client/images/fahlogo.png|g" \
-e "s|%(PACKAGE_URL)s|https://github.com/FoldingAtHome/fah-client-bastet|g" \
-i $out/share/applications/fah-client.desktop
runHook postInstall
'';