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.

authored by Sergey Vinokurov and committed by GitHub 3a7feda6 aa607420

+10 -5
+10 -5
pkgs/applications/science/misc/foldingathome/client.nix
··· 3 , fetchFromGitHub 4 , ocl-icd 5 , openssl 6 , scons 7 , stdenv 8 , extraPkgs ? [ ] 9 }: 10 let 11 - version = "8.3.1"; 12 13 cbangSrc = fetchFromGitHub { 14 owner = "cauldrondevelopmentllc"; 15 repo = "cbang"; 16 rev = "bastet-v${version}"; 17 - hash = "sha256-cuyfJG5aDJ6e2SllxwKTViG0j8FWHvjcTaaBBtkgEdU="; 18 }; 19 20 fah-client = stdenv.mkDerivation { ··· 25 owner = "FoldingAtHome"; 26 repo = "fah-client-bastet"; 27 rev = "v${version}"; 28 - hash = "sha256-Ztc2im4Xmk8f6GotGRgA5zDkcyQFnodUvroJVl+ApT4="; 29 }; 30 31 - nativeBuildInputs = [ scons ]; 32 33 buildInputs = [ openssl ]; 34 ··· 63 buildFHSEnv { 64 name = fah-client.name; 65 66 - targetPkgs = _: [ fah-client ocl-icd ] ++ extraPkgs; 67 68 runScript = "/bin/fah-client"; 69
··· 3 , fetchFromGitHub 4 , ocl-icd 5 , openssl 6 + , re2 7 + , libevent 8 + , git 9 + , zlib 10 + , expat 11 , scons 12 , stdenv 13 , extraPkgs ? [ ] 14 }: 15 let 16 + version = "8.3.7"; 17 18 cbangSrc = fetchFromGitHub { 19 owner = "cauldrondevelopmentllc"; 20 repo = "cbang"; 21 rev = "bastet-v${version}"; 22 + sha256 = "sha256-acAImItdkgo6PBFL6Vu/caIdcnvp/3VEW2lgVDgKy9g="; 23 }; 24 25 fah-client = stdenv.mkDerivation { ··· 30 owner = "FoldingAtHome"; 31 repo = "fah-client-bastet"; 32 rev = "v${version}"; 33 + sha256 = "sha256-d+LY/R4TAko+2e2W76KEBQ8fXj0hzzmBOm+c4tksXMA="; 34 }; 35 36 + nativeBuildInputs = [ scons re2 libevent git ]; 37 38 buildInputs = [ openssl ]; 39 ··· 68 buildFHSEnv { 69 name = fah-client.name; 70 71 + targetPkgs = _: [ fah-client ocl-icd zlib expat ] ++ extraPkgs; 72 73 runScript = "/bin/fah-client"; 74