2019-04-02 16:09:45 +00:00
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
;;; Copyright © 2019 Brant Gardner <brantcgardner@brantware.com>
|
2020-02-16 13:48:03 +00:00
|
|
|
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
|
2020-03-26 11:42:20 +00:00
|
|
|
;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
|
2019-04-02 16:09:45 +00:00
|
|
|
;;;
|
|
|
|
;;; This file is part of GNU Guix.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is free software; you can redistribute it and/or modify it
|
|
|
|
;;; under the terms of the GNU General Public License as published by
|
|
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
|
|
;;; your option) any later version.
|
|
|
|
;;;
|
|
|
|
;;; GNU Guix is distributed in the hope that it will be useful, but
|
|
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;;; GNU General Public License for more details.
|
|
|
|
;;;
|
|
|
|
;;; You should have received a copy of the GNU General Public License
|
|
|
|
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
(define-module (gnu packages distributed)
|
|
|
|
#:use-module (guix packages)
|
2019-10-12 12:52:33 +00:00
|
|
|
#:use-module (guix utils)
|
2019-04-02 16:09:45 +00:00
|
|
|
#:use-module (guix download)
|
|
|
|
#:use-module (guix git-download)
|
|
|
|
#:use-module (guix build-system gnu)
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
|
|
|
#:use-module (gnu packages)
|
|
|
|
#:use-module (gnu packages autotools)
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
#:use-module (gnu packages compression)
|
|
|
|
#:use-module (gnu packages databases)
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
#:use-module (gnu packages tls)
|
|
|
|
#:use-module (gnu packages curl)
|
|
|
|
#:use-module (gnu packages wxwidgets)
|
|
|
|
#:use-module (gnu packages gnome)
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
#:use-module (gnu packages perl)
|
|
|
|
#:use-module (gnu packages sqlite)
|
|
|
|
#:use-module (gnu packages python)
|
|
|
|
#:use-module (gnu packages python-xyz))
|
|
|
|
|
|
|
|
(define-public boinc-client
|
|
|
|
(package
|
|
|
|
(name "boinc-client")
|
2020-02-16 13:48:03 +00:00
|
|
|
(version "7.16.4")
|
2019-04-02 16:09:45 +00:00
|
|
|
(source (origin
|
|
|
|
(method git-fetch)
|
|
|
|
(uri (git-reference
|
|
|
|
(url "https://github.com/boinc/boinc.git")
|
|
|
|
(commit (string-append "client_release/"
|
2019-10-12 12:52:33 +00:00
|
|
|
(version-major+minor version)
|
|
|
|
"/" version))))
|
|
|
|
(file-name (git-file-name "boinc" version))
|
2019-04-02 16:09:45 +00:00
|
|
|
(sha256
|
|
|
|
(base32
|
2020-02-16 13:48:03 +00:00
|
|
|
"08xx2kzb7c46k1zb91w74kyig3b5kilxdw5ilfs67r8p55mxk0g1"))))
|
2019-04-02 16:09:45 +00:00
|
|
|
(build-system gnu-build-system)
|
|
|
|
(arguments '(#:configure-flags '("--disable-server")))
|
|
|
|
(inputs `(("openssl" ,openssl)
|
|
|
|
("curl" ,curl)
|
|
|
|
("wxwidgets" ,wxwidgets)
|
|
|
|
("gtk+" ,gtk+)
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
("libnotify" ,libnotify)
|
|
|
|
("sqlite" ,sqlite)
|
|
|
|
("python" ,python)
|
|
|
|
("python-pyserial" ,python-pyserial)))
|
|
|
|
(native-inputs
|
|
|
|
`(("autoconf" ,autoconf)
|
|
|
|
("automake" ,automake)
|
|
|
|
("libtool" ,libtool)
|
|
|
|
("pkg-config" ,pkg-config)))
|
2020-02-16 13:48:40 +00:00
|
|
|
(synopsis "Help cutting-edge science research using your computer")
|
2019-04-02 16:09:45 +00:00
|
|
|
(description "BOINC is a platform for high-throughput computing on a large
|
|
|
|
scale (thousands or millions of computers). It can be used for volunteer
|
|
|
|
computing (using consumer devices) or grid computing (using organizational
|
2019-10-12 12:46:09 +00:00
|
|
|
resources). It supports virtualized, parallel, and GPU-based applications.")
|
2019-04-02 16:09:45 +00:00
|
|
|
(home-page "https://boinc.berkeley.edu/")
|
2019-10-12 12:50:29 +00:00
|
|
|
;; BOINC is distributed as LGPL3+, with some individual modules under GPL3+.
|
|
|
|
(license (list license:lgpl3+ license:gpl3+))))
|
2019-04-02 16:09:45 +00:00
|
|
|
|
|
|
|
(define-public boinc-server
|
|
|
|
(package (inherit boinc-client)
|
|
|
|
(name "boinc-server")
|
|
|
|
(arguments '(#:configure-flags '("--disable-client" "--disable-manager")
|
|
|
|
#:parallel-build? #f
|
|
|
|
#:tests? #f)) ; FIXME: Looks like bad test syntax in the
|
|
|
|
; source package, 2 tests fail. Disable for
|
|
|
|
; now.
|
2020-03-26 11:42:20 +00:00
|
|
|
(inputs `(("openssl" ,openssl-1.0)
|
2019-04-02 16:09:45 +00:00
|
|
|
("curl" ,curl)
|
2020-03-26 11:42:20 +00:00
|
|
|
("mariadb:dev" ,mariadb "dev")
|
2019-04-02 16:09:45 +00:00
|
|
|
("zlib" ,zlib)))
|
|
|
|
(propagated-inputs `(("python" ,python-wrapper)
|
|
|
|
("perl" ,perl)))))
|