[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
37/379: gnu: Add rust-rustix-0.37.
From: |
guix-commits |
Subject: |
37/379: gnu: Add rust-rustix-0.37. |
Date: |
Mon, 10 Jul 2023 05:27:50 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit b8803b8e5cf8e7fb719bae520f75b9a6ef50d621
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu May 11 17:12:16 2023 +0300
gnu: Add rust-rustix-0.37.
* gnu/packages/crates-io.scm (rust-rustix-0.37): New variable.
(rust-rustix-0.36): Inherit from rust-rustix-0.37.
---
gnu/packages/crates-io.scm | 53 +++++++++++++++++++++++++++++++++++++++-------
1 file changed, 45 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a031ceed4a..f134dc4270 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52902,8 +52902,52 @@ rustc compiler.")
`(("rust-failure" ,rust-failure-0.1)
,@(alist-delete "rust-anyhow" cargo-inputs)))))))
+(define-public rust-rustix-0.37
+ (package
+ (name "rust-rustix")
+ (version "0.37.19")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "rustix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0gb12rp992bh2h5msqcbpdsx6h1gslsb0zpp5hdnyxj2hnfp5y5c"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cc" ,rust-cc-1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-errno" ,rust-errno-0.3)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-1)
+ ("rust-itoa" ,rust-itoa-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-linux-raw-sys" ,rust-linux-raw-sys-0.3)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.48))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-ctor" ,rust-ctor-0.2)
+ ("rust-errno" ,rust-errno-0.3)
+ ("rust-flate2" ,rust-flate2-1)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.8)
+ ("rust-serial-test" ,rust-serial-test-0.6)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/bytecodealliance/rustix")
+ (synopsis "Safe Rust bindings to POSIX syscalls")
+ (description
+ "This package provides safe Rust bindings to POSIX syscalls.")
+ ;; Apache 2.0, Apache 2.0 with LLVM exception, or Expat.
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-rustix-0.36
(package
+ (inherit rust-rustix-0.37)
(name "rust-rustix")
(version "0.36.4")
(source (origin
@@ -52913,7 +52957,6 @@ rustc compiler.")
(sha256
(base32
"08vwnvf76nkgb2bbxf8cn51c43x6sc9k462khrwbb2z0g19fi4yb"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-criterion" ,rust-criterion-0.4)
@@ -52936,13 +52979,7 @@ rustc compiler.")
("rust-once-cell" ,rust-once-cell-1)
("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
- ("rust-windows-sys" ,rust-windows-sys-0.42))))
- (home-page "https://github.com/bytecodealliance/rustix")
- (synopsis "Safe Rust bindings to POSIX syscalls")
- (description
- "This package provides safe Rust bindings to POSIX syscalls.")
- ;; Apache 2.0, Apache 2.0 with LLVM exception, or Expat.
- (license (list license:asl2.0 license:expat))))
+ ("rust-windows-sys" ,rust-windows-sys-0.42))))))
(define-public rust-rustix-0.35
(package
- 25/379: gnu: Add rust-password-hash-0.5., (continued)
- 25/379: gnu: Add rust-password-hash-0.5., guix-commits, 2023/07/10
- 26/379: gnu: Add rust-pbkdf2-0.12., guix-commits, 2023/07/10
- 27/379: gnu: Add rust-pem-rfc7468-0.7., guix-commits, 2023/07/10
- 31/379: gnu: Add rust-phf-macros-0.11., guix-commits, 2023/07/10
- 32/379: gnu: Add rust-phf-shared-0.11., guix-commits, 2023/07/10
- 21/379: gnu: rust-is-terminal-0.4: Update to 0.4.7., guix-commits, 2023/07/10
- 24/379: gnu: Add rust-memoffset-0.8., guix-commits, 2023/07/10
- 28/379: gnu: Add rust-phf-0.11., guix-commits, 2023/07/10
- 30/379: gnu: Add rust-phf-generator-0.11., guix-commits, 2023/07/10
- 29/379: gnu: Add rust-phf-codegen-0.11., guix-commits, 2023/07/10
- 37/379: gnu: Add rust-rustix-0.37.,
guix-commits <=
- 42/379: gnu: Add rust-signature-2., guix-commits, 2023/07/10
- 45/379: gnu: rust-tempfile-3: Update to 3.5.0., guix-commits, 2023/07/10
- 36/379: gnu: Add rust-raw-cpuid-10., guix-commits, 2023/07/10
- 39/379: gnu: Add rust-scrypt-0.11., guix-commits, 2023/07/10
- 33/379: gnu: Add rust-pkcs8-0.10., guix-commits, 2023/07/10
- 34/379: gnu: Add rust-pkcs5-0.7., guix-commits, 2023/07/10
- 35/379: gnu: rust-proptest-1: Update to 1.1.0., guix-commits, 2023/07/10
- 41/379: gnu: Add rust-signature-derive-2., guix-commits, 2023/07/10
- 46/379: gnu: Add rust-windows-aarch64-msvc-0.48., guix-commits, 2023/07/10
- 52/379: gnu: Add rust-windows-x86-64-gnu-0.48., guix-commits, 2023/07/10