about summary refs log tree commit diff
path: root/pkgs/applications/science
diff options
context:
space:
mode:
authorBobby Rong <rjl931189261@126.com>2021-12-18 21:32:22 +0800
committerGitHub <noreply@github.com>2021-12-18 21:32:22 +0800
commitbcaa1b463376c6b515bf867b349756309dc71c89 (patch)
tree4991bc5649bb1cc84cada31d49a862f477230df4 /pkgs/applications/science
parent6556b9cdb6b81d63f5d4ee26331cd92b4d115cc3 (diff)
parentca87168c6e856d771695ecc7c991b3d0132a18f2 (diff)
Merge pull request #149151 from Luflosi/update/boinc
boinc: 7.14.2 -> 7.18.1
Diffstat (limited to 'pkgs/applications/science')
-rw-r--r--pkgs/applications/science/misc/boinc/default.nix17
1 files changed, 11 insertions, 6 deletions
diff --git a/pkgs/applications/science/misc/boinc/default.nix b/pkgs/applications/science/misc/boinc/default.nix
index 460ea1408ecaa..05304ef6a9e27 100644
--- a/pkgs/applications/science/misc/boinc/default.nix
+++ b/pkgs/applications/science/misc/boinc/default.nix
@@ -3,8 +3,8 @@ libGLU, libGL, libXmu, libXi, freeglut, libjpeg, libtool, wxGTK30, xcbutil,
 sqlite, gtk2, patchelf, libXScrnSaver, libnotify, libX11, libxcb }:
 
 let
-  majorVersion = "7.14";
-  minorVersion = "2";
+  majorVersion = "7.18";
+  minorVersion = "1";
 in
 
 stdenv.mkDerivation rec {
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
     owner = "BOINC";
     repo = "boinc";
     rev = "client_release/${majorVersion}/${version}";
-    sha256 = "0nicpkag18xq0libfqqvs0im22mijpsxzfk272iwdd9l0lmgfvyd";
+    sha256 = "sha256-ijkfWTFwwJXvh6f0P5hkzWODxU+Ugz6iQUK+5jEpWXQ=";
   };
 
   nativeBuildInputs = [ libtool automake autoconf m4 pkg-config ];
@@ -37,10 +37,15 @@ stdenv.mkDerivation rec {
 
   configureFlags = [ "--disable-server" ];
 
-  meta = {
+  postInstall = ''
+    install --mode=444 -D 'client/scripts/boinc-client.service' "$out/etc/systemd/system/boinc.service"
+  '';
+
+  meta = with lib; {
     description = "Free software for distributed and grid computing";
     homepage = "https://boinc.berkeley.edu/";
-    license = lib.licenses.lgpl2Plus;
-    platforms = lib.platforms.linux;  # arbitrary choice
+    license = licenses.lgpl2Plus;
+    platforms = platforms.linux;  # arbitrary choice
+    maintainers = with maintainers; [ Luflosi ];
   };
 }