unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Steve George <steve@futurile.net>
To: 67024@debbugs.gnu.org
Cc: Steve George <steve@futurile.net>, efraim@flashner.co.il
Subject: [bug#67024] [PATCH 52/54] gnu: Add rust-nix-0.27.
Date: Thu,  9 Nov 2023 19:38:49 +0000	[thread overview]
Message-ID: <1dc980f9ac1c9457186405073e84880e95b2e276.1699556976.git.steve@futurile.net> (raw)
In-Reply-To: <20231109184212.173223-1-steve@futurile.net>

* gnu/packages/crates-io.scm (rust-nix-0.27): New variable.

Change-Id: I0c718a9a6116f0b93414da5f922c18e9f6946d10
---
 gnu/packages/crates-io.scm | 48 +++++++++++++++++++++++++++++++-------
 1 file changed, 39 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3b1cd966b4f..90c16435811 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48212,8 +48212,45 @@ (define-public rust-nitrokey-test-state-0.1
 nitrokey-test crate.")
     (license license:gpl3+)))
 
+(define-public rust-nix-0.27
+  (package
+    (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"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #: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))))
+    (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.26
   (package
+    (inherit rust-nix-0.27)
     (name "rust-nix")
     (version "0.26.2")
     (source
@@ -48223,7 +48260,7 @@ (define-public rust-nix-0.26
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "06lfvjhsj5zlslsg2jhijrm69npprmsh7r1667qnl7c2jv8s7pdz"))))
-    (build-system cargo-build-system)
+    ;(build-system cargo-build-system)
     (arguments
      (list #:skip-build? #t
            #:cargo-inputs
@@ -48232,14 +48269,7 @@ (define-public rust-nix-0.26
              ("rust-libc" ,rust-libc-0.2)
              ("rust-memoffset" ,rust-memoffset-0.7)
              ("rust-pin-utils" ,rust-pin-utils-0.1)
-             ("rust-static-assertions" ,rust-static-assertions-1))))
-    (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-static-assertions" ,rust-static-assertions-1))))))
 
 (define-public rust-nix-0.25
   (package
-- 
2.41.0





  parent reply	other threads:[~2023-11-09 19:43 UTC|newest]

Thread overview: 56+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-09 18:39 [bug#67024] [PATCH 00/54] Series to add StackedGit 2.4 Steve George
2023-11-09 19:37 ` [bug#67024] [PATCH 01/54] gnu: Add rust-gix-hash-0.13 Steve George
2023-11-09 19:37 ` [bug#67024] [PATCH 02/54] gnu: Add rust-prodash-26 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 03/54] gnu: Add rust-gix-features-0.35 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 04/54] gnu: Add rust-byteyarn-0.2 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 05/54] gnu: Add rust-gix-path-0.10 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 06/54] gnu: Add rust-gix-glob-0.13 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 07/54] gnu: Add rust-gix-attributes-0.19 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 08/54] gnu: Add rust-gix-date-0.8 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 09/54] gnu: Add rust-gix-actor-0.27 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 10/54] gnu: Add rust-gix-validate-0.8 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 11/54] gnu: Add rust-gix-object-0.37 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 12/54] gnu: Add rust-gix-packetline-blocking-0.16 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 13/54] gnu: Add rust-gix-filter-0.5 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 14/54] gnu: Add rust-gix-fs-0.7 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 15/54] gnu: Add rust-gix-tempfile-10 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 16/54] gnu: Add rust-gix-lock-10 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 17/54] gnu: Add rust-gix-commitgraph-0.21 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 18/54] gnu: Add rust-gix-hashtable-0.4 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 19/54] gnu: Add rust-gix-revwalk-0.8 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 20/54] gnu: Add rust-gix-traverse-0.33 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 21/54] gnu: Add rust-gix-index-0.25 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 22/54] gnu: Add rust-gix-ignore-0.8 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 23/54] gnu: Add rust-gix-worktree-0.26 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 24/54] gnu: Add rust-gix-worktree-state-0.3 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 25/54] gnu: Add rust-gix-worktree-stream-0.5 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 26/54] gnu: rust-libtest-mimic-0.6: Update to 0.6.1 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 27/54] gnu: Add rust-gix-url-0.24 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 28/54] gnu: Add rust-gix-config-value-0.14 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 29/54] gnu: Add rust-gix-prompt-0.7 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 30/54] gnu: Add rust-gix-sec-0.10 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 31/54] gnu: Add rust-gix-credentials-0.20 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 32/54] gnu: Add rust-gix-transport-0.37 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 33/54] gnu: Add rust-gix-pathspec-0.3 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 34/54] gnu: Add rust-gix-status-0.1 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 35/54] gnu: Add rust-gix-revision-0.22 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 36/54] gnu: Add rust-gix-refspec-0.18 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 37/54] gnu: Add rust-gix-ref-0.37 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 38/54] gnu: Add rust-gix-protocol-0.40 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 39/54] gnu: Add rust-gix-diff-0.36 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 40/54] gnu: Add rust-gix-pack-0.43 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 41/54] gnu: Add rust-gix-odb-0.53 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 42/54] gnu: Add rust-gix-negotiate-0.8 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 43/54] gnu: Add rust-gix-mailmap-0.19 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 44/54] gnu: Add rust-gix-macros-0.1 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 45/54] gnu: Add rust-gix-discover-0.25 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 46/54] gnu: Add rust-gix-config-0.30 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 47/54] gnu: rust-zip-0.6: Update to 0.6.6 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 48/54] gnu: Add rust-gix-archive-0.5 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 49/54] gnu: Add rust-gix-submodule-0.4 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 50/54] gnu: Add rust-gix-0.54 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 51/54] gnu: rust-caps-0.5: Update to 0.5.5 Steve George
2023-11-09 19:38 ` Steve George [this message]
2023-11-09 19:38 ` [bug#67024] [PATCH 53/54] gnu: rust-ctrlc-3: Update to 3.2.5 Steve George
2023-11-09 19:38 ` [bug#67024] [PATCH 54/54] gnu: Add stgit-2 Steve George
2023-11-28 10:33 ` bug#67024: [PATCH 00/54] Series to add StackedGit 2.4 Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1dc980f9ac1c9457186405073e84880e95b2e276.1699556976.git.steve@futurile.net \
    --to=steve@futurile.net \
    --cc=67024@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).