[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
99/330: gnu: Add rust-abi-stable-0.11.
From: |
guix-commits |
Subject: |
99/330: gnu: Add rust-abi-stable-0.11. |
Date: |
Mon, 18 Mar 2024 07:15:30 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit 9f45143480111b902bb44f0356e253e4a6724fe3
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sat Mar 16 21:30:18 2024 +0200
gnu: Add rust-abi-stable-0.11.
* gnu/packages/crates-io.scm (rust-abi-stable-0.11): New variable.
(rust-abi-stable-0.10): Inherit from rust-abi-stable-0.11.
Change-Id: I587e05dccfc96b5eb816c311fc52596be56ca4f2
---
gnu/packages/crates-io.scm | 54 +++++++++++++++++++++++++++++++++++++++-------
1 file changed, 46 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5b017aed13..ecc119f2ea 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -175,8 +175,53 @@ rasterizing OpenType font glyphs.")
cubic beziers.")
(license license:asl2.0)))
+(define-public rust-abi-stable-0.11
+ (package
+ (name "rust-abi-stable")
+ (version "0.11.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "abi_stable" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0if428pq8ly97zi6q1842nak977rwxnj17650i8gwpxh7qnm3mk9"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--features=testing")
+ #:cargo-inputs (("rust-abi-stable-derive" ,rust-abi-stable-derive-0.11)
+ ("rust-abi-stable-shared" ,rust-abi-stable-shared-0.11)
+ ("rust-const-panic" ,rust-const-panic-0.2)
+ ("rust-core-extensions" ,rust-core-extensions-1)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+ ("rust-generational-arena" ,rust-generational-arena-0.2)
+ ("rust-libloading" ,rust-libloading-0.7)
+ ("rust-lock-api" ,rust-lock-api-0.4)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-paste" ,rust-paste-1)
+ ("rust-repr-offset" ,rust-repr-offset-0.2)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1))
+ #:cargo-development-inputs (("rust-bincode" ,rust-bincode-1)
+ ("rust-crossbeam-utils"
,rust-crossbeam-utils-0.8)
+ ("rust-fnv" ,rust-fnv-1)
+ ("rust-hashbrown" ,rust-hashbrown-0.13)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/rodrimati1992/abi_stable_crates/")
+ (synopsis "Rust-to-Rust ffi,writing libraries loaded at program startup")
+ (description
+ "This package contains code for doing Rust-to-Rust ffi, writing libraries
+loaded at program startup.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-abi-stable-0.10
(package
+ (inherit rust-abi-stable-0.11)
(name "rust-abi-stable")
(version "0.10.5")
(source
@@ -193,7 +238,6 @@ cubic beziers.")
"
<([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)")
_ version _)
(string-append ">=" version)))))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; tests must be run with the "testing" feature
#:cargo-inputs
@@ -218,13 +262,7 @@ cubic beziers.")
("rust-fnv" ,rust-fnv-1)
("rust-hashbrown" ,rust-hashbrown-0.11)
("rust-rand" ,rust-rand-0.8)
- ("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://github.com/rodrimati1992/abi_stable_crates/")
- (synopsis "Rust-to-Rust ffi,writing libraries loaded at program startup")
- (description
- "This package contains code for doing Rust-to-Rust ffi,writing libraries
-loaded at program startup.")
- (license (list license:expat license:asl2.0))))
+ ("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-abi-stable-derive-0.11
(package
- 145/330: gnu: Add rust-sample-std-0.1., (continued)
- 145/330: gnu: Add rust-sample-std-0.1., guix-commits, 2024/03/18
- 51/330: gnu: Add rust-nix-0.28., guix-commits, 2024/03/18
- 56/330: gnu: rust-tempfile-3: Update to 3.10.1., guix-commits, 2024/03/18
- 58/330: gnu: rust-value-bag-serde1-1: Update to 1.8.0., guix-commits, 2024/03/18
- 57/330: gnu: rust-value-bag-1: Update to 1.8.0., guix-commits, 2024/03/18
- 68/330: gnu: Add rust-serial-test-derive-3., guix-commits, 2024/03/18
- 69/330: gnu: Add rust-serial-test-3., guix-commits, 2024/03/18
- 96/330: gnu: Add rust-arrow-format-0.8., guix-commits, 2024/03/18
- 117/330: gnu: Add rust-polars-0.37., guix-commits, 2024/03/18
- 81/330: gnu: Add rust-libflate-lz77-2., guix-commits, 2024/03/18
- 99/330: gnu: Add rust-abi-stable-0.11.,
guix-commits <=
- 110/330: gnu: rust-xxhash-rust-0.8: Update to 0.8.10., guix-commits, 2024/03/18
- 130/330: gnu: Add rust-polars-json-0.37., guix-commits, 2024/03/18
- 132/330: gnu: Add rust-tonic-0.8., guix-commits, 2024/03/18
- 139/330: gnu: Add rust-sqlparser-derive-0.1., guix-commits, 2024/03/18
- 142/330: gnu: Add rust-seq-macro-0.3., guix-commits, 2024/03/18
- 143/330: gnu: Add rust-sample-test-macros-0.1., guix-commits, 2024/03/18
- 144/330: gnu: Add rust-sample-test-0.1., guix-commits, 2024/03/18
- 147/330: gnu: Add rust-ref-thread-local-0.1., guix-commits, 2024/03/18
- 148/330: gnu: Add rust-rand-regex-0.15., guix-commits, 2024/03/18
- 152/330: gnu: Add rust-polars-arrow-format-0.1., guix-commits, 2024/03/18