guix-commits
[Top][All Lists]
Advanced

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

23/109: gnu: Remove rust-nix-0.17.


From: guix-commits
Subject: 23/109: gnu: Remove rust-nix-0.17.
Date: Wed, 27 Dec 2023 10:10:52 -0500 (EST)

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

commit 8388f901e364da589aa5c6cc4d5af3a5a2d8c268
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Dec 27 10:17:43 2023 +0200

    gnu: Remove rust-nix-0.17.
    
    * gnu/packages/crates-io.scm (rust-nix-0.17): Remove variable.
    (rust-nix-0.15): Inherit from rust-nix-0.27.
    
    Change-Id: Ic31d6567103d9ded590973ceaad6a894946474a8
---
 gnu/packages/crates-io.scm | 45 ++++++++++++++++-----------------------------
 1 file changed, 16 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9201929554..149b30f946 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49292,18 +49292,29 @@ while still providing platform specific APIs.")
     (inputs
      (list rust-bitflags-1 rust-cc-1 rust-cfg-if-0.1 rust-libc-0.2))))
 
-(define-public rust-nix-0.17
+(define-public rust-nix-0.15
   (package
-    (inherit rust-nix-0.19)
+    (inherit rust-nix-0.27)
     (name "rust-nix")
-    (version "0.17.0")
+    (version "0.15.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "nix" version))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h"))))
+        (base32
+         "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Unpin the dependency on tempfile, as it was withheld for MSRV
+           ;; concerns, which don't matter for Guix:
+           ;; 
https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027
+           (substitute* "Cargo.toml"
+             (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\""))
+           #t))))
     (arguments
      `(#:tests? #f                      ; test suite hangs
        #:cargo-inputs
@@ -49320,30 +49331,6 @@ while still providing platform specific APIs.")
         ("rust-sysctl" ,rust-sysctl-0.1)
         ("rust-tempfile" ,rust-tempfile-3))))))
 
-(define-public rust-nix-0.15
-  (package
-    (inherit rust-nix-0.17)
-    (name "rust-nix")
-    (version "0.15.0")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "nix" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0aa2l7wg9pzx24ks4p97gdy09a4hhs1sr9drxnm75v906d7hnbiv"))
-       (modules '((guix build utils)))
-       (snippet
-        '(begin
-           ;; Unpin the dependency on tempfile, as it was withheld for MSRV
-           ;; concerns, which don't matter for Guix:
-           ;; 
https://github.com/nix-rust/nix/commit/98531c8f04bc23fb632c08e06dc4e56284b9c027
-           (substitute* "Cargo.toml"
-             (("version = \">= 3.0.5, < 3.0.9\"") "version = \"3.0.5\""))
-           #t))))))
-
 (define-public rust-nix-0.14
   (package
     (inherit rust-nix-0.15)



reply via email to

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