[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
51/330: gnu: Add rust-nix-0.28.
From: |
guix-commits |
Subject: |
51/330: gnu: Add rust-nix-0.28. |
Date: |
Mon, 18 Mar 2024 07:15:08 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit aae70fa3d943081dbd073a649c202a88af0c045e
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 14 12:29:29 2024 +0200
gnu: Add rust-nix-0.28.
* gnu/packages/crates-io.scm (rust-nix-0.28): New variable.
(rust-nix-0.27): Inherit from rust-nix-0.28.
Change-Id: Iebc84917250d682626c5d1d20a6702ac36d27c3b
---
gnu/packages/crates-io.scm | 46 +++++++++++++++++++++++++++++++++++++---------
1 file changed, 37 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a930106324..c31cbb9593 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41262,8 +41262,44 @@ nitrokey-test crate.")
(description "Unified interface for Linux network state querying.")
(license license:asl2.0)))
+(define-public rust-nix-0.28
+ (package
+ (name "rust-nix")
+ (version "0.28.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "nix" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; unresolved import `nix::sys::aio`
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-cfg-aliases" ,rust-cfg-aliases-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-memoffset" ,rust-memoffset-0.9)
+ ("rust-pin-utils" ,rust-pin-utils-0.1))
+ #:cargo-development-inputs (("rust-assert-impl" ,rust-assert-impl-0.1)
+ ("rust-caps" ,rust-caps-0.5)
+ ("rust-parking-lot" ,rust-parking-lot-0.12)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-semver" ,rust-semver-1)
+ ("rust-sysctl" ,rust-sysctl-0.4)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/nix-rust/nix")
+ (synopsis "Rust friendly bindings to *nix APIs")
+ (description
+ "Nix seeks to provide friendly bindings to various *nix platform APIs.
+The goal is to not provide a 100% unified interface, but to unify what can be
+while still providing platform specific APIs.")
+ (license license:expat)))
+
(define-public rust-nix-0.27
(package
+ (inherit rust-nix-0.28)
(name "rust-nix")
(version "0.27.1")
(source
@@ -41273,7 +41309,6 @@ nitrokey-test crate.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; unresolved import `nix::sys::aio`
#:cargo-inputs
@@ -41289,14 +41324,7 @@ nitrokey-test crate.")
("rust-rand" ,rust-rand-0.8)
("rust-semver" ,rust-semver-1)
("rust-sysctl" ,rust-sysctl-0.4)
- ("rust-tempfile" ,rust-tempfile-3))))
- (home-page "https://github.com/nix-rust/nix")
- (synopsis "Rust friendly bindings to *nix APIs")
- (description
- "Nix seeks to provide friendly bindings to various *nix platform APIs.
-The goal is to not provide a 100% unified interface, but to unify what can be
-while still providing platform specific APIs.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-nix-0.26
(package
- 105/330: gnu: Add rust-parquet-format-safe-0.2., (continued)
- 105/330: gnu: Add rust-parquet-format-safe-0.2., guix-commits, 2024/03/18
- 88/330: gnu: Add rust-multiversion-macros-0.7., guix-commits, 2024/03/18
- 87/330: gnu: rust-ctor-0.2: Update to 0.2.7., guix-commits, 2024/03/18
- 124/330: gnu: Add rust-polars-time-0.37., guix-commits, 2024/03/18
- 129/330: gnu: Add rust-polars-parquet-0.37., guix-commits, 2024/03/18
- 127/330: gnu: Add rust-polars-plan-0.37., guix-commits, 2024/03/18
- 136/330: gnu: Add rust-typed-builder-macro-0.16., guix-commits, 2024/03/18
- 137/330: gnu: Add rust-typed-builder-0.16., guix-commits, 2024/03/18
- 141/330: gnu: Add rust-simd-json-0.13., guix-commits, 2024/03/18
- 145/330: gnu: Add rust-sample-std-0.1., guix-commits, 2024/03/18
- 51/330: gnu: Add rust-nix-0.28.,
guix-commits <=
- 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, 2024/03/18
- 110/330: gnu: rust-xxhash-rust-0.8: Update to 0.8.10., guix-commits, 2024/03/18