projects/guix·blob bootstrap-team · refs

125 lines · 4.9 KiB

1;;; GNU Guix --- Functional package management for GNU
2;;; Copyright © 2019 Brant Gardner <[email protected]>
3;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <[email protected]>
4;;; Copyright © 2020 Efraim Flashner <[email protected]>
5;;; Copyright © 2023 Eric Bavier <[email protected]>
6;;; Copyright © 2024 Vitalii Koshura <[email protected]>
7;;;
8;;; This file is part of GNU Guix.
9;;;
10;;; GNU Guix is free software; you can redistribute it and/or modify it
11;;; under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 3 of the License, or (at
13;;; your option) any later version.
14;;;
15;;; GNU Guix is distributed in the hope that it will be useful, but
16;;; WITHOUT ANY WARRANTY; without even the implied warranty of
17;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18;;; GNU General Public License for more details.
19;;;
20;;; You should have received a copy of the GNU General Public License
21;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22
23(define-module (gnu packages distributed)
24 #:use-module (guix gexp)
25 #:use-module (guix packages)
26 #:use-module (guix utils)
27 #:use-module (guix git-download)
28 #:use-module (guix build-system gnu)
29 #:use-module ((guix licenses) #:prefix license:)
30 #:use-module (gnu packages)
31 #:use-module (gnu packages autotools)
32 #:use-module (gnu packages avahi)
33 #:use-module (gnu packages base)
34 #:use-module (gnu packages compression)
35 #:use-module (gnu packages databases)
36 #:use-module (gnu packages gcc)
37 #:use-module (gnu packages gtk)
38 #:use-module (gnu packages kerberos)
39 #:use-module (gnu packages pkg-config)
40 #:use-module (gnu packages popt)
41 #:use-module (gnu packages tls)
42 #:use-module (gnu packages curl)
43 #:use-module (gnu packages wxwidgets)
44 #:use-module (gnu packages gnome)
45 #:use-module (gnu packages gtk)
46 #:use-module (gnu packages perl)
47 #:use-module (gnu packages sqlite)
48 #:use-module (gnu packages python)
49 #:use-module (gnu packages python-xyz))
50
51(define-public boinc-client
52 (package
53 (name "boinc-client")
54 (version "8.2.8")
55 (source (origin
56 (method git-fetch)
57 (uri (git-reference
58 (url "https://github.com/boinc/boinc")
59 (commit (string-append "client_release/"
60 (version-major+minor version)
61 "/" version))))
62 (file-name (git-file-name "boinc" version))
63 (sha256
64 (base32
65 "1ppcf57p6dkv9dv5k90fj3xhbv9di2d3yjkg2flfv5d45s82lay8"))))
66 (build-system gnu-build-system)
67 (arguments
68 (list
69 #:configure-flags
70 #~(list "--disable-server")))
71 (inputs (list openssl
72 curl
73 wxwidgets
74 gtk+
75 gdk-pixbuf
76 libnotify
77 sqlite
78 python
79 python-pyserial))
80 (native-inputs
81 (list autoconf automake libtool pkg-config))
82 (synopsis "Help cutting-edge science research using your computer")
83 (description "BOINC is a platform for high-throughput computing on a large
84scale (thousands or millions of computers). It can be used for volunteer
85computing (using consumer devices) or grid computing (using organizational
86resources). It supports virtualized, parallel, and GPU-based applications.")
87 (home-page "https://boinc.berkeley.edu/")
88 ;; BOINC is distributed as LGPL3+, with some individual modules under GPL3+.
89 (license (list license:lgpl3+ license:gpl3+))))
90
91(define-public distcc
92 (package
93 (name "distcc")
94 (version "3.4")
95 (source (origin
96 (method git-fetch)
97 (uri (git-reference
98 (url "https://github.com/distcc/distcc")
99 (commit (string-append "v" version))))
100 (file-name (git-file-name name version))
101 (sha256
102 (base32
103 "0nn0wzrmm88268vay855hr8bw9im5f8kzjp7k20qav9yrckhfwab"))))
104 (build-system gnu-build-system)
105 (arguments
106 (list #:tests? #f ; TODO: Tests use a hardcoded PATH called RESTRICTED_PATH
107 #:configure-flags #~(list "--enable-rfc2553"
108 "--with-gtk"
109 "--with-auth")))
110 (native-inputs
111 (list pkg-config autoconf automake which))
112 (inputs
113 (list avahi
114 gtk+
115 libiberty
116 mit-krb5 ; for gss
117 popt
118 python-minimal))
119 (home-page "https://www.distcc.org/")
120 (synopsis "Distributed builds for C, C++ and Objective C")
121 (description "distcc is a program to distribute compilation of C or C++ code across
122several machines on a network. distcc should always generate the same
123results as a local compile, is simple to install and use, and is often
124two or more times faster than a local compile.")
125 (license license:gpl2+)))