guix-commits
[Top][All Lists]
Advanced

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

100/276: gnu: Add rust-linux-raw-sys-0.4.


From: guix-commits
Subject: 100/276: gnu: Add rust-linux-raw-sys-0.4.
Date: Wed, 18 Oct 2023 04:49:34 -0400 (EDT)

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

commit 2a87ab305e02ce4cd9ec14270d1c1a78ed868371
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 2 08:01:50 2023 +0300

    gnu: Add rust-linux-raw-sys-0.4.
    
    * gnu/packages/crates-io.scm (rust-linux-raw-sys-0.4): New variable.
    (rust-linux-raw-sys-0.3): Inherit from rust-linux-raw-sys-0.4.
---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f332304031..3eec57ef24 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36494,17 +36494,17 @@ facility.  Provides a safe interface around the raw 
system calls allowing
 user-space programs to perform key manipulation.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-linux-raw-sys-0.3
+(define-public rust-linux-raw-sys-0.4
   (package
     (name "rust-linux-raw-sys")
-    (version "0.3.7")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "linux-raw-sys" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "17s7qr5h82blrxy29014zzhr30jcxcjc8r16v2p31rzcfal7xsgc"))))
+    (version "0.4.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "linux-raw-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1nw8dqdhai0c7r701bicj3y6vrwc7dgbx9lbcw29ijnr7d562liq"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -36522,6 +36522,26 @@ Linux userspace APIs.")
     ;; LLVM exception.  See COPYRIGHT in the repository.
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-linux-raw-sys-0.3
+  (package
+    (inherit rust-linux-raw-sys-0.4)
+    (name "rust-linux-raw-sys")
+    (version "0.3.7")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "linux-raw-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "17s7qr5h82blrxy29014zzhr30jcxcjc8r16v2p31rzcfal7xsgc"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))
+       #:cargo-development-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-static-assertions" ,rust-static-assertions-1))))))
+
 (define-public rust-linux-raw-sys-0.1
   (package
     (inherit rust-linux-raw-sys-0.3)



reply via email to

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