summary refs log tree commit diff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/crates-io.scm')
-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")