diff options
author | Sergey Vinokurov <1149355+sergv@users.noreply.github.com> | 2024-03-14 11:17:46 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 12:17:46 +0100 |
commit | 3a7feda68d750ad99f236d0b49ed22f6e0ab0638 (patch) | |
tree | 4b68cca46a691e0c8e9a74408f8dcb0d87a038ca /pkgs/applications/science/misc | |
parent | aa607420f71d7fefbf5a0ae88ff2053ef51b5a24 (diff) |
Update Folding@home client to 8.3.7 (#295745)
Depend re2, libevent during build sisnce 8.3.7 appears to link with them. Depend on git because client wan’t to know what revision it was built from. Add zlib and expat to FHS environment because some workunits depend on them and cause lots of rejections if those libraries are not available. Unfortunately they don’t appear to be bundled as part of work distribution.
Diffstat (limited to 'pkgs/applications/science/misc')
-rw-r--r-- | pkgs/applications/science/misc/foldingathome/client.nix | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/pkgs/applications/science/misc/foldingathome/client.nix b/pkgs/applications/science/misc/foldingathome/client.nix index 108dcc284ea98..6ff159cc54cbe 100644 --- a/pkgs/applications/science/misc/foldingathome/client.nix +++ b/pkgs/applications/science/misc/foldingathome/client.nix @@ -3,18 +3,23 @@ , fetchFromGitHub , ocl-icd , openssl +, re2 +, libevent +, git +, zlib +, expat , scons , stdenv , extraPkgs ? [ ] }: let - version = "8.3.1"; + version = "8.3.7"; cbangSrc = fetchFromGitHub { owner = "cauldrondevelopmentllc"; repo = "cbang"; rev = "bastet-v${version}"; - hash = "sha256-cuyfJG5aDJ6e2SllxwKTViG0j8FWHvjcTaaBBtkgEdU="; + sha256 = "sha256-acAImItdkgo6PBFL6Vu/caIdcnvp/3VEW2lgVDgKy9g="; }; fah-client = stdenv.mkDerivation { @@ -25,10 +30,10 @@ let owner = "FoldingAtHome"; repo = "fah-client-bastet"; rev = "v${version}"; - hash = "sha256-Ztc2im4Xmk8f6GotGRgA5zDkcyQFnodUvroJVl+ApT4="; + sha256 = "sha256-d+LY/R4TAko+2e2W76KEBQ8fXj0hzzmBOm+c4tksXMA="; }; - nativeBuildInputs = [ scons ]; + nativeBuildInputs = [ scons re2 libevent git ]; buildInputs = [ openssl ]; @@ -63,7 +68,7 @@ in buildFHSEnv { name = fah-client.name; - targetPkgs = _: [ fah-client ocl-icd ] ++ extraPkgs; + targetPkgs = _: [ fah-client ocl-icd zlib expat ] ++ extraPkgs; runScript = "/bin/fah-client"; |