nckx pushed a commit to branch master
in repository guix.

commit 6ab1a5bf5178f49612eb19ab1dbae9223b6c9da1
Author: Tobias Geerinckx-Rice <m...@tobias.gr>
AuthorDate: Sun Sep 8 02:00:00 2024 +0200

    gnu: boost-signals2: Update to 1.83.0-0.2ecf1b5.
    
    This ‘fixes’ the build as our hash no longer matched upstream's Git tag.
    
    * gnu/packages/boost.scm (boost-signals2): Update to 1.83.0-0.2ecf1b5.
    
    Change-Id: I1e0849ac71bcba22c8b367601107caf58b51a434
---
 gnu/packages/boost.scm | 53 ++++++++++++++++++++++++++------------------------
 1 file changed, 28 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/boost.scm b/gnu/packages/boost.scm
index 2fdea80896..233ef5bd87 100644
--- a/gnu/packages/boost.scm
+++ b/gnu/packages/boost.scm
@@ -394,32 +394,35 @@ Boost.Thread.")
       (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt";)))))
 
 (define-public boost-signals2
-  (package
-    (name "boost-signals2")
-    (version (package-version boost))
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://github.com/boostorg/signals2";)
-                    (commit (string-append "boost-" version))))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1prhj98jgvkj2m3ia5lcgxnl1a4h13cyzqd55skjn983rivi6090"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let ((source (assoc-ref %build-inputs "source")))
-           (copy-recursively (string-append source "/include")
-                             (string-append %output "/include"))))))
-    (home-page "https://github.com/boostorg/signals2";)
-    (synopsis "Boost.Signals2 library")
-    (description "The Boost.Signals2 library is an implementation of a managed
+  ;; Don't use the ‘boost-x.y.z’ tags; they are not immutable upstream.
+  (let ((commit "2ecf1b53bc970dd2b5e5d0f36fe8adf5d2181638")
+        (revision "0"))
+    (package
+      (name "boost-signals2")
+      (version (git-version (package-version boost) revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/boostorg/signals2";)
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "101ayw7dz4gdvva2yzyrfad69w4xbvv3man83xwqjbkib3a92ca8"))))
+      (build-system trivial-build-system)
+      (arguments
+       `(#:modules ((guix build utils))
+         #:builder
+         (begin
+           (use-modules (guix build utils))
+           (let ((source (assoc-ref %build-inputs "source")))
+             (copy-recursively (string-append source "/include")
+                               (string-append %output "/include"))))))
+      (home-page "https://github.com/boostorg/signals2";)
+      (synopsis "Boost.Signals2 library")
+      (description "The Boost.Signals2 library is an implementation of a 
managed
 signals and slots system.")
-    (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt";))))
+      (license (license:x11-style "https://www.boost.org/LICENSE_1_0.txt";)))))
 
 
 (define-public boost-mpi

Reply via email to