summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 12:40:53 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:37 +0300
commita26057cff195ac8ce30b9c8da9c0e270ca01e65e (patch)
treea9f7ccb09e0bf164a376d1b998f615acf4831b49 /gnu
parent53470d633d6440473838b90660eb8b6e5cef4436 (diff)
downloadguix-a26057cff195ac8ce30b9c8da9c0e270ca01e65e.tar.gz
gnu: Add rust-nix-0.25.
* gnu/packages/crates-io.scm (rust-nix-0.25): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3b7c3c122..832a22506a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37883,6 +37883,28 @@ 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.25
+  (package
+    (inherit rust-nix-0.26)
+    (name "rust-nix")
+    (version "0.25.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "nix" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r4vyp5g1lxzpig31bkrhxdf2bggb4nvk405x5gngzfvwxqgyipk"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-autocfg" ,rust-autocfg-1)
+        ("rust-bitflags" ,rust-bitflags-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-memoffset" ,rust-memoffset-0.6)
+        ("rust-pin-utils" ,rust-pin-utils-0.1))))))
+
 (define-public rust-nix-0.24
   (package
     (inherit rust-nix-0.26)