summary refs log tree commit diff
diff options
context:
space:
mode:
authorLee Thompson <lee.p.thomp@gmail.com>2024-11-04 16:59:32 +0000
committerEfraim Flashner <efraim@flashner.co.il>2024-11-17 10:49:59 +0200
commitb9547aa9bf65ea080cbf65af10bcaf125113d561 (patch)
tree83fc16a3f5e08cfcb8ded27c7863650d36e9d124
parent737d1b4fb132e9a50d496830d12febd5b1316b5a (diff)
downloadguix-b9547aa9bf65ea080cbf65af10bcaf125113d561.tar.gz
gnu: Add rust-emacs-0.19.
* gnu/packages/crates-io.scm (rust-emacs-0.19): New variable.
(rust-emacs-0.18): Inherit from rust-emacs-0.19.

Change-Id: I7791c869e8fdde96734499722d35f8f6aa2445fa
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm45
1 files changed, 32 insertions, 13 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e4416574b..16f7a0a389 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23105,19 +23105,17 @@ easy.")
      "This package provides a pure-Rust library for parsing ELF files.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-emacs-0.18
+(define-public rust-emacs-0.19
   (package
     (name "rust-emacs")
-    (version "0.18.0")
+    (version "0.19.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (crate-uri "emacs" version))
-        (file-name
-         (string-append name "-" version ".tar.gz"))
-        (sha256
-         (base32
-          "0r860i73b2680i2fhdl2l1wwvvmf2zksncpckgkksdcx310ak5v7"))))
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "emacs" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "133ip19m1nq8krf04klh1jpm833wpw6kdy2jksgylbw4xcp3yxws"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -23125,7 +23123,6 @@ easy.")
         ("rust-ctor" ,rust-ctor-0.1)
         ("rust-emacs-macros" ,rust-emacs-macros-0.17)
         ("rust-emacs-module" ,rust-emacs-module-0.18)
-        ("rust-failure" ,rust-failure-0.1)
         ("rust-failure-derive" ,rust-failure-derive-0.1)
         ("rust-once-cell" ,rust-once-cell-1)
         ("rust-thiserror" ,rust-thiserror-1))))
@@ -23134,10 +23131,32 @@ easy.")
     (home-page "https://github.com/ubolonton/emacs-module-rs")
     (synopsis "Library for creating Emacs's dynamic modules")
     (description
-     "This crate provides a high level binding to emacs-module:
-Emacs' support for dynamic modules.")
+     "This crate provides a Rust library for creating Emacs' dynamic modules.")
     (license license:bsd-3)))
 
+(define-public rust-emacs-0.18
+  (package
+    (inherit rust-emacs-0.19)
+    (name "rust-emacs")
+    (version "0.18.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "emacs" version))
+        (file-name (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32 "0r860i73b2680i2fhdl2l1wwvvmf2zksncpckgkksdcx310ak5v7"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-ctor" ,rust-ctor-0.1)
+        ("rust-emacs-macros" ,rust-emacs-macros-0.17)
+        ("rust-emacs-module" ,rust-emacs-module-0.18)
+        ("rust-failure" ,rust-failure-0.1)
+        ("rust-failure-derive" ,rust-failure-derive-0.1)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-thiserror" ,rust-thiserror-1))))))
+
 (define-public rust-emacs-0.11
   (package (inherit rust-emacs-0.18)
     (name "rust-emacs")