guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#71066] [PATCH] gnu: emacs-nyxt: Update to 0.1.0-0.5f732e3.


From: Nicolas Graves
Subject: [bug#71066] [PATCH] gnu: emacs-nyxt: Update to 0.1.0-0.5f732e3.
Date: Sun, 19 May 2024 16:50:59 +0200

* gnu/packages/emacs-xyz.scm (emacs-nyxt): Update to 0.1.0-0.5f732e3.

Change-Id: Id387b52fd12a3b46eb0c1a9a9c7d3799c6d717eb
---
 gnu/packages/emacs-xyz.scm | 59 ++++++++++++++++++++------------------
 1 file changed, 31 insertions(+), 28 deletions(-)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b21a510bc79..4ddec0582ad 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -30181,35 +30181,38 @@ (define-public emacs-nix-mode
     (license license:lgpl2.1+)))
 
 (define-public emacs-nyxt
-  (package
-    (name "emacs-nyxt")
-    (version "0.1.0")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                    (url "https://git.sr.ht/~conses/nyxt.el";)
-                    (commit version)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "1hgb10pk5m3v2gsl4h6i821nyzksss0rk4hhjnfb7nm98lalzbl6"))))
-    (build-system emacs-build-system)
-    (arguments
-     (list
-      #:phases
-      #~(modify-phases %standard-phases
-          (add-after 'unpack 'patch-file-name
-            (lambda* (#:key inputs #:allow-other-keys)
-              (emacs-substitute-variables "nyxt.el"
-                ("nyxt-path"
-                 (search-input-file inputs "/bin/nyxt"))))))))
-    (inputs (list nyxt))
-    (propagated-inputs (list emacs-sly))
-    (home-page "https://git.sr.ht/~conses/nyxt.el";)
-    (synopsis "Interact with Nyxt from Emacs")
-    (description "This package consists of custom logic to interact with Nyxt
+  ;; This forge doesn't support fetching from refs, use commits.
+  (let ((commit "5f732e3d039c9d9c316dd5fbbbc91bd015dd2659")
+        (revision "0"))
+    (package
+      (name "emacs-nyxt")
+      (version (git-version "0.1.1" revision commit))
+      (source (origin
+                (method git-fetch)
+                (uri (git-reference
+                      (url "https://git.migalmoreno.com/nyxt.el";)
+                      (commit commit)))
+                (file-name (git-file-name name version))
+                (sha256
+                 (base32
+                  "147yin822mi49gg2gxqljnx3i261z6b8d61m83l4nns4cf67vqns"))))
+      (build-system emacs-build-system)
+      (arguments
+       (list
+        #:phases
+        #~(modify-phases %standard-phases
+            (add-after 'unpack 'patch-file-name
+              (lambda* (#:key inputs #:allow-other-keys)
+                (emacs-substitute-variables "nyxt.el"
+                  ("nyxt-path"
+                   (search-input-file inputs "/bin/nyxt"))))))))
+      (inputs (list nyxt))
+      (propagated-inputs (list emacs-sly))
+      (home-page "https://git.migalmoreno.com/nyxt.el";)
+      (synopsis "Interact with Nyxt from Emacs")
+      (description "This package consists of custom logic to interact with Nyxt
 from Emacs.")
-    (license license:gpl3+)))
+      (license license:gpl3+))))
 
 (define-public emacs-libmpdel
   (package
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]