diff options
author | Jonas Chevalier <zimbatm@zimbatm.com> | 2024-01-29 18:17:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 18:17:16 +0100 |
commit | b1e30d76d4a8821783d94be6f6d6d91a5f7a7033 (patch) | |
tree | 7864922dc2b07919c1a40d978caaefbcface3a48 /pkgs | |
parent | 7ba3caea70556bb6691f0ed0792c2ac89393018b (diff) |
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>
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/science/misc/foldingathome/client.nix | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/pkgs/applications/science/misc/foldingathome/client.nix b/pkgs/applications/science/misc/foldingathome/client.nix index f61fe5b018571..108dcc284ea98 100644 --- a/pkgs/applications/science/misc/foldingathome/client.nix +++ b/pkgs/applications/science/misc/foldingathome/client.nix @@ -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 ''; |