From 98d59a6040ec456115e638c28a4342dfd137de73 Mon Sep 17 00:00:00 2001 From: NoƩ Lopez Date: Fri, 1 Nov 2024 15:06:29 +0100 Subject: gnu: Add distcc. * gnu/packages/distributed.scm (distcc): New package. Change-Id: Ibf486fbb5661e31769d8f987fc787ddfb514e57c --- gnu/packages/distributed.scm | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) 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 @@ (define-module (gnu packages distributed) #: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 @@ (define-public boinc-client (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+))) -- cgit v1.2.3