GNU bug report logs - #70875
[PATCH] gnu: squirrel: Update to 3.2.

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Sat, 11 May 2024 09:32:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Andy Tai <atai <at> atai.org>
To: 70875 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [bug#70875] [PATCH v4 2/2] gnu: squirrel: Code reformat.
Date: Mon, 24 Jun 2024 22:13:05 -0700
* gnu/packages/squirrel.scm (squirrel): Code reformat.
  [native-inputs]: Switch to gexp format.

Change-Id: Id487820e4d0e28491157fac8be38cf483eb78dad
---
 gnu/packages/squirrel.scm | 51 ++++++++++++++++++---------------------
 1 file changed, 24 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/squirrel.scm b/gnu/packages/squirrel.scm
index a318eb3815..43e433cc82 100644
--- a/gnu/packages/squirrel.scm
+++ b/gnu/packages/squirrel.scm
@@ -32,36 +32,33 @@ (define-public squirrel
   (package
     (name "squirrel")
     (version "3.2")
-    (source (origin
-              (method git-fetch)
-               (uri (git-reference
-                     (url "https://github.com/albertodemichelis/squirrel.git")
-                     (commit (string-append "v" version))))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "028v90k5bbcb8qwysgv6r0ycy6g920ns32i2sdq0i8hqib90ac5z"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/albertodemichelis/squirrel.git")
+             (commit (string-append "v" version))))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "028v90k5bbcb8qwysgv6r0ycy6g920ns32i2sdq0i8hqib90ac5z"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags '("-DDISABLE_STATIC=ON")
-       #:tests? #f ; no tests
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'install 'install-documentation
-           (lambda* (#:key outputs #:allow-other-keys)
-             (let* ((source (assoc-ref %build-inputs "source"))
-                    (out (assoc-ref outputs "out"))
-                    (doc-dir (string-append out "/share/doc/squirrel")))
-               (for-each
-                (lambda (file)
-                  (install-file (string-append source "/" file) doc-dir))
-                '("COPYRIGHT" "HISTORY" "README"
-                  ;"doc/sqstdlib3.pdf" "doc/squirrel3.pdf"  ;; pdf not build out of git; TODO
-
-                  ))))))))
-    (native-inputs
-     `(("cmake" ,cmake-minimal)
-       ("python-sphinx" ,python-sphinx)))
+       #:tests? #f ;no tests
+       #:phases (modify-phases %standard-phases
+                  (add-after 'install 'install-documentation
+                    (lambda* (#:key outputs #:allow-other-keys)
+                      (let* ((source (assoc-ref %build-inputs "source"))
+                             (out (assoc-ref outputs "out"))
+                             (doc-dir (string-append out "/share/doc/squirrel")))
+                        (for-each (lambda (file)
+                                    (install-file (string-append source "/"
+                                                                 file) doc-dir))
+                                  '("COPYRIGHT" "HISTORY" "README"
+                                    ;; "doc/sqstdlib3.pdf" "doc/squirrel3.pdf"
+                                    ;; pdf not build out of git; TODO
+                                    ))))))))
+    (native-inputs (list cmake-minimal python-sphinx))
     (home-page "https://squirrel-lang.org/")
     (synopsis "High level imperative, object-oriented programming language")
     (description
-- 
2.34.1





This bug report was last modified 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.