From d44097aeaf33d0393cfea53ef23d26708ac5d2c7 Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Mon, 19 May 2025 01:42:39 +0200 Subject: [PATCH] gnu: rust-linux-raw-sys: Update to 0.9.4. * gnu/packages/crates-io.scm (rust-linux-raw-sys-0.9): New variable. Change-Id: Ic8758c10b4f9250f93e7d881f180697ac9d88408 --- gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1e2a3fc10e..c76a4c8cff 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -40376,6 +40376,30 @@ 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.9 + (package + (name "rust-linux-raw-sys") + (version "0.9.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "linux-raw-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "04kyjdrq79lz9ibrf7czk6cv9d3jl597pb9738vzbsbzy1j5i56d")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs (("rust-compiler-builtins" ,rust-compiler-builtins-0.1) + ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))) + (home-page "https://github.com/sunfishcode/linux-raw-sys") + (synopsis "Generated bindings for Linux's userspace API") + (description "This package provides automatically generated bindings for +Linux userspace APIs.") + ;; The user can choose either license, or a variant of ASL2.0 with + ;; LLVM exception. See COPYRIGHT in the repository. + (license (list license:asl2.0 license:expat)))) + (define-public rust-linux-raw-sys-0.6 (package (name "rust-linux-raw-sys")