guix-commits
[Top][All Lists]
Advanced

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

04/19: gnu: Add rust-nix-0.17.


From: guix-commits
Subject: 04/19: gnu: Add rust-nix-0.17.
Date: Tue, 4 Aug 2020 10:06:49 -0400 (EDT)

niedzejkob pushed a commit to branch master
in repository guix.

commit b79e249aa028a4f3c7e0bf7fc47927aac2f6aae3
Author: Jakub Kądziołka <kuba@kadziolka.net>
AuthorDate: Mon Aug 3 19:11:41 2020 +0200

    gnu: Add rust-nix-0.17.
    
    * gnu/packages/crates-io.scm (rust-nix-0.17): New variable.
      (rust-nix-0.15): Inherit from rust-nix-0.17.
---
 gnu/packages/crates-io.scm | 42 ++++++++++++++++++++++++++++--------------
 1 file changed, 28 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3cb97ca..3a8ca14 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14472,10 +14472,10 @@ cryptographic library.")
 release (fork of debug_unreachable)")
     (license license:expat)))
 
-(define-public rust-nix-0.15
+(define-public rust-nix-0.17
   (package
     (name "rust-nix")
-    (version "0.15.0")
+    (version "0.17.0")
     (source
      (origin
        (method url-fetch)
@@ -14484,16 +14484,7 @@ release (fork of debug_unreachable)")
         (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))))
+         "0qvk09kib3jpvpbaps0682nav20ibql61pf1s2h8jx9v5igpir2h"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f      ; test suite hangs
@@ -14512,10 +14503,33 @@ release (fork of debug_unreachable)")
         ("rust-tempfile" ,rust-tempfile-3))))
     (home-page "https://github.com/nix-rust/nix";)
     (synopsis "Rust friendly bindings to *nix APIs")
-    (description
-     "Rust friendly bindings to *nix APIs.")
+    (description "Rust friendly bindings to *nix APIs.")
     (license license:expat)))
 
+(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]