[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
119/194: gnu: Add rust-abi-stable-0.10.
From: |
guix-commits |
Subject: |
119/194: gnu: Add rust-abi-stable-0.10. |
Date: |
Tue, 3 Oct 2023 14:57:42 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e98a3854d394f3d63300f04cb2f92361d4d2ccb5
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 3 09:46:54 2023 +0300
gnu: Add rust-abi-stable-0.10.
* gnu/packages/crates-io.scm (rust-abi-stable-0.10,
rust-abi-stable-derive-0.10, rust-abi-stable-shared-0.10): New variables.
---
gnu/packages/crates-io.scm | 103 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 103 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 77a0cceb10..45af7c1a90 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -152,6 +152,109 @@ rasterizing OpenType font glyphs.")
cubic beziers.")
(license license:asl2.0)))
+(define-public rust-abi-stable-0.10
+ (package
+ (name "rust-abi-stable")
+ (version "0.10.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "abi-stable" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03vg0cl0727whv7nxyvm8g9xfwxnfcdn8p872jqw1z6n84yjix7s"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin (substitute* "Cargo.toml"
+ (((string-append
">=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+),"
+ "
<([[: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
+ (("rust-abi-stable-derive" ,rust-abi-stable-derive-0.10)
+ ("rust-abi-stable-shared" ,rust-abi-stable-shared-0.10)
+ ("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-once-cell" ,rust-once-cell-1)
+ ("rust-parking-lot" ,rust-parking-lot-0.11)
+ ("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.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))))
+
+(define-public rust-abi-stable-derive-0.10
+ (package
+ (name "rust-abi-stable-derive")
+ (version "0.10.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "abi-stable-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w503n9rxja3h8ls6p5xsly8aclbp30dm4hd0525bvpbippi161v"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ "--skip=sabi_trait::tests::sabi_trait_test_cases"
+ "--skip=stable_abi::tests::test_cases")
+ #:cargo-inputs
+ (("rust-abi-stable-shared" ,rust-abi-stable-shared-0.10)
+ ("rust-as-derive-utils" ,rust-as-derive-utils-0.10)
+ ("rust-core-extensions" ,rust-core-extensions-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.2)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-typed-arena" ,rust-typed-arena-2))
+ #:cargo-development-inputs
+ (("rust-as-derive-utils" ,rust-as-derive-utils-0.10))))
+ (home-page "https://github.com/rodrimati1992/abi_stable_crates/")
+ (synopsis "Implementation detail of abi_stable.")
+ (description "This package contains an implementation detail of
abi_stable.")
+ (license (list license:expat license:asl2.0))))
+
+(define-public rust-abi-stable-shared-0.10
+ (package
+ (name "rust-abi-stable-shared")
+ (version "0.10.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "abi-stable-shared" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0psaz0vghdz84vrb311g4b74d2nhrlbmwxa8if88s0bf0s4xmsgc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-core-extensions" ,rust-core-extensions-1))))
+ (home-page "https://github.com/rodrimati1992/abi_stable_crates/")
+ (synopsis "Implementation detail of abi_stable")
+ (description "This package contains an implementation detail of
abi_stable.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-abomonation-0.7
(package
(name "rust-abomonation")
- 97/194: gnu: rust-pkg-config-0.3: Update to 0.3.27., (continued)
- 97/194: gnu: rust-pkg-config-0.3: Update to 0.3.27., guix-commits, 2023/10/03
- 104/194: gnu: rust-nix-0.24: Update to 0.24.3., guix-commits, 2023/10/03
- 101/194: gnu: Add rust-loom-0.7., guix-commits, 2023/10/03
- 105/194: gnu: rust-pin-project-lite-0.2: Update to 0.2.13., guix-commits, 2023/10/03
- 106/194: gnu: Add rust-rustix-0.38., guix-commits, 2023/10/03
- 110/194: gnu: rust-tokio-1: Update to 1.32.0., guix-commits, 2023/10/03
- 111/194: gnu: Add rust-tokio-macros-2., guix-commits, 2023/10/03
- 52/194: gnu: Add rust-rctree-0.5., guix-commits, 2023/10/03
- 109/194: gnu: Add rust-socket2-0.5., guix-commits, 2023/10/03
- 114/194: gnu: rust-openssl-0.10: Update to 0.10.57., guix-commits, 2023/10/03
- 119/194: gnu: Add rust-abi-stable-0.10.,
guix-commits <=
- 120/194: gnu: Add rust-mimalloc-rust-0.1., guix-commits, 2023/10/03
- 123/194: gnu: Add rust-auto-impl-0.5., guix-commits, 2023/10/03
- 131/194: gnu: rust-sourcemap-6: Update to 6.4.1., guix-commits, 2023/10/03
- 117/194: gnu: python-cryptography: Update to 41.0.4., guix-commits, 2023/10/03
- 124/194: gnu: Add rust-convert-case-0.6., guix-commits, 2023/10/03
- 143/194: gnu: Add rust-unreachable-0.1., guix-commits, 2023/10/03
- 129/194: gnu: Add rust-repr-offset-0.2., guix-commits, 2023/10/03
- 137/194: gnu: Add rust-napi-derive-2., guix-commits, 2023/10/03
- 127/194: gnu: rust-lexical-core-0.7: Fix inputs., guix-commits, 2023/10/03
- 139/194: gnu: Add rust-napi-2., guix-commits, 2023/10/03