mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 02:05:51 +03:00
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:
parent
7ba3caea70
commit
b1e30d76d4
@ -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
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user