summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
author( <paren@disroot.org>2022-11-29 07:00:45 +0000
committerTobias Geerinckx-Rice <me@tobias.gr>2022-11-27 01:00:05 +0100
commita9f3887f37a5c1926d8b8175a3024116421488b1 (patch)
treee185f7736b8682da03f3354825f9070d92857887 /gnu/packages
parentb9684bf18d28246fcf9f5c9f084072562fb9d3fb (diff)
downloadguix-a9f3887f37a5c1926d8b8175a3024116421488b1.tar.gz
gnu: Add rust-linux-raw-sys-0.0.46.
* gnu/packages/crates-io.scm (rust-linux-raw-sys-0.0.46): New
variable.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0af7083316..8e77eae99b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30639,6 +30639,33 @@ in plain text.  It is smart about where a link ends, such as with trailing
 punctuation.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-linux-raw-sys-0.0.46
+  (package
+    (name "rust-linux-raw-sys")
+    (version "0.0.46")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "linux-raw-sys" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0kc528mp2fp8m96csm6rmwg0ac7zbgf36k19ml4a4c9j6xn4blnl"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list #: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))))
+    (home-page "https://github.com/sunfishcode/linux-raw-sys")
+    (synopsis "Generated bindings for Linux APIs")
+    (description
+     "This package provides automatically generated bindings for
+Linux userspace APIs.")
+    (license (list license:asl2.0
+                   license:expat))))
+
 (define-public rust-libssh2-sys-0.2
   (package
     (name "rust-libssh2-sys")