guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

148/379: gnu: rust-nix-0.22: Update to 0.22.3.


From: guix-commits
Subject: 148/379: gnu: rust-nix-0.22: Update to 0.22.3.
Date: Mon, 10 Jul 2023 05:28:25 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 106099a31d6ad1e06cb0cdd0bf19fbbed1b621d8
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue May 16 22:22:02 2023 +0300

    gnu: rust-nix-0.22: Update to 0.22.3.
    
    * gnu/packages/crates-io.scm (rust-nix-0.22): Update to 0.22.3.
    [source]: Add snippet allowing newer versions of dependencies.
    [arguments]: Don't skip build. Skip tests.
    [cargo-inputs]: Replace rust-bitflags-1.2 with 1.
    [cargo-development-inputs]: Add rust-assert-impl-0.1, rust-caps-0.5,
    rust-lazy-static-1, rust-rand-0.8, rust-semver-1, rust-sysctl-0.1,
    rust-tempfile-3.
    [inputs]: Replace rust-bitflags-1.2 with rust-bitflags.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fdab1e6c7e..511e12e509 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38942,24 +38942,36 @@ while still providing platform specific APIs.")
   (package
     (inherit rust-nix-0.23)
     (name "rust-nix")
-    (version "0.22.1")
+    (version "0.22.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "nix" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0cahgzxhdwsaa8491n6cn8gadgfsxk5razyfw4xr3k34f5n5smg7"))))
+        (base32 "1bsgc8vjq07a1wg9vz819bva3dvn58an4r87h80dxrfqkqanz4g4"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin (substitute* "Cargo.toml"
+                  ((">= 1\\.1\\.0, < 1\\.3\\.0") ">= 1.1.0"))))))
     (arguments
-     `(#:skip-build? #t
+     `(#:tests? #f      ; Tests hang forever.
        #:cargo-inputs
-       (("rust-bitflags" ,rust-bitflags-1.2)
+       (("rust-bitflags" ,rust-bitflags-1)
         ("rust-cc" ,rust-cc-1)
         ("rust-cfg-if" ,rust-cfg-if-1)
         ("rust-libc" ,rust-libc-0.2)
-        ("rust-memoffset" ,rust-memoffset-0.6))))
+        ("rust-memoffset" ,rust-memoffset-0.6))
+       #:cargo-development-inputs
+       (("rust-assert-impl" ,rust-assert-impl-0.1)
+        ("rust-caps" ,rust-caps-0.5)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-semver" ,rust-semver-1)
+        ("rust-sysctl" ,rust-sysctl-0.1)
+        ("rust-tempfile" ,rust-tempfile-3))))
     (inputs
-     (list rust-bitflags-1.2 rust-cc-1 rust-cfg-if-1 rust-libc-0.2
+     (list rust-bitflags-1 rust-cc-1 rust-cfg-if-1 rust-libc-0.2
            rust-memoffset-0.6))))
 
 (define-public rust-nix-0.21



reply via email to

[Prev in Thread] Current Thread [Next in Thread]