diff mbox series

[bug#69890,08/43] gnu: Add rust-nix-0.28.

Message ID e1de34ddb19839e7f8a95bfd90a04e75fda12099.1710817680.git.normally_js@posteo.net
State New
Headers show
Series gnu: Add procs. | expand

Commit Message

normally_js March 19, 2024, 3:50 a.m. UTC
* gnu/packages/crates-io.scm (rust-nix-0.28): New variable.

Change-Id: Ibb1c75b3c83e9fccfce1b58e10294111723b5fec
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++++----
 1 file changed, 34 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aa090607b8..993f50d862 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40930,23 +40930,24 @@  (define-public rust-nispor-1
     (description "Unified interface for Linux network state querying.")
     (license license:asl2.0)))
 
-(define-public rust-nix-0.27
+(define-public rust-nix-0.28
   (package
     (name "rust-nix")
-    (version "0.27.1")
+    (version "0.28.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "nix" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f"))))
+        (base32 "1r0rylax4ycx3iqakwjvaa178jrrwiiwghcw95ndzy72zk25c8db"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f      ; unresolved import `nix::sys::aio`
+     `(#:tests? #f
        #: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))
@@ -40966,6 +40967,35 @@  (define-public rust-nix-0.27
 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
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "nix" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0ly0kkmij5f0sqz35lx9czlbk6zpihb7yh1bsy4irzwfd2f4xc1f"))))
+    (arguments
+     `(#:tests? #f      ; unresolved import `nix::sys::aio`
+       #:cargo-inputs
+       (("rust-bitflags" ,rust-bitflags-2)
+        ("rust-cfg-if" ,rust-cfg-if-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))))))
+
 (define-public rust-nix-0.26
   (package
     (inherit rust-nix-0.27)