[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#49946] [PATCH v4 28/31] gnu: rust-emacs: Update to 0.18.
From: |
Pierre Langlois |
Subject: |
[bug#49946] [PATCH v4 28/31] gnu: rust-emacs: Update to 0.18. |
Date: |
Fri, 18 Feb 2022 14:39:45 +0000 |
* gnu/packages/crates-io.scm (rust-emacs-0.18): New variable.
(rust-emacs-0.11): Inherit from rust-emacs-0.18.
---
gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++++-------
1 file changed, 31 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 154ad963a5..6c0376c01a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19045,10 +19045,10 @@ (define-public rust-elf-0.0.10
"This package provides a pure-Rust library for parsing ELF files.")
(license (list license:expat license:asl2.0))))
-(define-public rust-emacs-0.11
+(define-public rust-emacs-0.18
(package
(name "rust-emacs")
- (version "0.11.0")
+ (version "0.18.0")
(source
(origin
(method url-fetch)
@@ -19057,16 +19057,18 @@ (define-public rust-emacs-0.11
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1xn6nr8m3p24irlmv3i7c9n95yb10qc6aikwqv99qlmhbky5x0z7"))))
+ "0r860i73b2680i2fhdl2l1wwvvmf2zksncpckgkksdcx310ak5v7"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-ctor" ,rust-ctor-0.1)
- ("rust-emacs-macros" ,rust-emacs-macros-0.11)
- ("rust-emacs-module" ,rust-emacs-module-0.10)
+ (("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-lazy-static" ,rust-lazy-static-1))))
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
(inputs
(list clang))
(home-page "https://github.com/ubolonton/emacs-module-rs")
@@ -19076,6 +19078,28 @@ (define-public rust-emacs-0.11
Emacs' support for dynamic modules.")
(license license:bsd-3)))
+(define-public rust-emacs-0.11
+ (package (inherit rust-emacs-0.18)
+ (name "rust-emacs")
+ (version "0.11.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "emacs" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1xn6nr8m3p24irlmv3i7c9n95yb10qc6aikwqv99qlmhbky5x0z7"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ctor" ,rust-ctor-0.1)
+ ("rust-emacs-macros" ,rust-emacs-macros-0.11)
+ ("rust-emacs-module" ,rust-emacs-module-0.10)
+ ("rust-failure" ,rust-failure-0.1)
+ ("rust-failure-derive" ,rust-failure-derive-0.1)
+ ("rust-lazy-static" ,rust-lazy-static-1))))))
+
(define-public rust-emacs-macros-0.17
(package
(name "rust-emacs-macros")
--
2.34.0
- [bug#49946] [PATCH v4 21/31] gnu: Add tree-sitter-python., (continued)
- [bug#49946] [PATCH v4 21/31] gnu: Add tree-sitter-python., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 16/31] gnu: Add tree-sitter-javascript., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 23/31] gnu: Add tree-sitter-rust., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 29/31] gnu: Add emacs-tree-sitter-core., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 24/31] gnu: Add tree-sitter-typescript., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 25/31] gnu: Add rust-tree-sitter-for-emacs., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 26/31] gnu: rust-emacs-module: Update to 0.18., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 27/31] gnu: rust-emacs-macros: Update to 0.17., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 30/31] gnu: Add emacs-tree-sitter., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 31/31] gnu: Add emacs-tree-sitter-langs., Pierre Langlois, 2022/02/18
- [bug#49946] [PATCH v4 28/31] gnu: rust-emacs: Update to 0.18.,
Pierre Langlois <=