gnu: libsoup: Depend on a fixed version of Samba.

This avoids big rebuilds when Samba is upgraded.

* gnu/packages/samba.scm (samba/fixed): New variable.
* gnu/packages/gnome.scm (libsoup-minimal)[inputs]: Use it instead of
SAMBA.
This commit is contained in:
Ludovic Courtès 2021-11-17 23:57:49 +01:00
parent 3a317f7476
commit e77df67cc2
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
2 changed files with 14 additions and 2 deletions

View file

@ -4940,7 +4940,7 @@ (define-public libsoup-minimal
("zlib" ,zlib)))
(inputs
`(("mit-krb5" ,mit-krb5)
("ntlm_auth" ,samba))) ; For ntlm_auth support
("ntlm_auth" ,samba/fixed))) ; For ntlm_auth support
(home-page "https://wiki.gnome.org/Projects/libsoup")
(synopsis "GLib-based HTTP Library")
(description

View file

@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2015, 2017 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2015, 2017, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016, 2017, 2019, 2021 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2016 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org>
@ -289,6 +289,18 @@ (define-public samba
Desktops into Active Directory environments using the winbind daemon.")
(license gpl3+)))
(define-public samba/fixed
;; Version that rarely changes, depended on by libsoup.
(package/inherit samba
(version "4.13.10")
(source
(origin
(inherit (package-source samba))
(uri (string-append "https://download.samba.org/pub/samba/stable/"
"samba-" version ".tar.gz"))
(sha256
(base32 "00q5hf2r71dyma785dckcyksv3082mqfgyy9q6k6rc6kqjwkirzh"))))))
(define-public talloc
(package
(name "talloc")