diff options
author | NoƩ Lopez <noelopez@free.fr> | 2024-11-01 15:06:29 +0100 |
---|---|---|
committer | Zheng Junjie <zhengjunjie@iscas.ac.cn> | 2024-11-02 21:53:27 +0800 |
commit | 98d59a6040ec456115e638c28a4342dfd137de73 (patch) | |
tree | de62f7daf1d2e993327d1296c397f01963b1b93a /gnu/packages | |
parent | 64a3a914a083cf2ec4f358b055c0e2a87f911a02 (diff) | |
download | guix-98d59a6040ec456115e638c28a4342dfd137de73.tar guix-98d59a6040ec456115e638c28a4342dfd137de73.tar.gz |
gnu: Add distcc.
* gnu/packages/distributed.scm (distcc): New package.
Change-Id: Ibf486fbb5661e31769d8f987fc787ddfb514e57c
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/distributed.scm | 42 |
1 files changed, 41 insertions, 1 deletions
diff --git a/gnu/packages/distributed.scm b/gnu/packages/distributed.scm index 5430d1428f..8ce6966369 100644 --- a/gnu/packages/distributed.scm +++ b/gnu/packages/distributed.scm @@ -24,16 +24,20 @@ #:use-module (guix gexp) #:use-module (guix packages) #:use-module (guix utils) - #: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 avahi) #:use-module (gnu packages base) #:use-module (gnu packages compression) #:use-module (gnu packages databases) + #:use-module (gnu packages gcc) + #:use-module (gnu packages gtk) + #:use-module (gnu packages kerberos) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages popt) #:use-module (gnu packages tls) #:use-module (gnu packages curl) #:use-module (gnu packages wxwidgets) @@ -83,3 +87,39 @@ resources). It supports virtualized, parallel, and GPU-based applications.") (home-page "https://boinc.berkeley.edu/") ;; BOINC is distributed as LGPL3+, with some individual modules under GPL3+. (license (list license:lgpl3+ license:gpl3+)))) + +(define-public distcc + (package + (name "distcc") + (version "3.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/distcc/distcc") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0nn0wzrmm88268vay855hr8bw9im5f8kzjp7k20qav9yrckhfwab")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ; TODO: Tests use a hardcoded PATH called RESTRICTED_PATH + #:configure-flags #~(list "--enable-rfc2553" + "--with-gtk" + "--with-auth"))) + (native-inputs + (list pkg-config autoconf automake which)) + (inputs + (list avahi + gtk+ + libiberty + mit-krb5 ; for gss + popt + python-minimal)) + (home-page "https://www.distcc.org/") + (synopsis "Distributed builds for C, C++ and Objective C") + (description "distcc is a program to distribute compilation of C or C++ code across +several machines on a network. distcc should always generate the same +results as a local compile, is simple to install and use, and is often +two or more times faster than a local compile.") + (license license:gpl2+))) |