all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57683] [PATCH] gnu: zuo: Use mirrored repository.
@ 2022-09-08 17:27 Liliana Marie Prikler
  2022-09-09 12:42 ` Maxime Devos
  0 siblings, 1 reply; 7+ messages in thread
From: Liliana Marie Prikler @ 2022-09-08 17:27 UTC (permalink / raw)
  To: 57683

This makes it so that zuo follows our packaging guidelines on version numbers
and gives meaning to the home-page.

* gnu/packages/racket.scm (zuo)[version]: Use git-version.
[source]: Use “https://github.com/racket/zuo” as URL.
Adapt patches accordingly.
[arguments]: Drop phases.
---
 gnu/packages/racket.scm | 30 ++++++++++++++----------------
 1 file changed, 14 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
index 10f93a1362..e3a9360a75 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -232,28 +232,26 @@ (define %racket-origin
 
 
 (define-public zuo
-  (let ((revision #f))
+  (let ((revision "1")
+        (commit "dcde608b20cf0d71e34300e21cbeeb0509f391a3"))
     (package
       (name "zuo")
-      (version (string-append %zuo-version
-                              "-racket"
-                              %racket-version
-                              (if revision "-guix" "")
-                              (or revision "")))
-      (source %racket-origin)
+      (version (git-version "1.0" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://github.com/racket/zuo")
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32 "094jhhi5672qyq7ynrd2fzxc08rrcgs58pzrfn1dyw8rdrfkrdgg"))
+                (patches (search-patches "racket-zuo-bin-sh.patch"))
+                (patch-flags '("-p4"))))
       (outputs '("out" "debug"))
       (build-system gnu-build-system)
       (arguments
-       (list
-        #:out-of-source? #t
-        #:phases
-        #~(modify-phases %standard-phases
-            (add-after 'unpack 'chdir
-              (lambda args
-                (chdir "racket/src/zuo"))))))
+       (list #:out-of-source? #t))
       (home-page "https://github.com/racket/zuo")
-      ;; ^ This is downstream of https://github.com/racket/racket,
-      ;; but it's designed to be a friendly landing place
       (synopsis "Tiny Racket for build scripts")
       (description "Zuo is a tiny Racket with primitives for dealing
 with files and running processes.  It comes with a @command{make}-like
-- 
2.37.2





^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-19 18:41 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-08 17:27 [bug#57683] [PATCH] gnu: zuo: Use mirrored repository Liliana Marie Prikler
2022-09-09 12:42 ` Maxime Devos
2022-09-09 12:55   ` Liliana Marie Prikler
2022-09-19  2:06     ` Philip McGrath
2022-09-19 13:53       ` Maxime Devos
2022-09-19 18:33         ` Liliana Marie Prikler
2022-09-19 18:40           ` Maxime Devos

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.