gnu: Add rust-linux-raw-sys-0.3.

* gnu/packages/crates-io.scm (rust-linux-raw-sys-0.3): New variable.
(rust-linux-raw-sys-0.1): Inherit from rust-linux-raw-sys-0.3.
This commit is contained in:
Efraim Flashner 2023-05-11 16:57:26 +03:00
parent 295bfaa481
commit 8d4726cfc7
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -33482,8 +33482,37 @@ (define-public rust-linkify-0.4
punctuation.")
(license (list license:expat license:asl2.0))))
(define-public rust-linux-raw-sys-0.3
(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"))))
(build-system cargo-build-system)
(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))))
(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.")
;; 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.1
(package
(inherit rust-linux-raw-sys-0.3)
(name "rust-linux-raw-sys")
(version "0.1.3")
(source (origin
@ -33493,22 +33522,13 @@ (define-public rust-linux-raw-sys-0.1
(sha256
(base32
"0zxlp1c4h7kkc4ldgcj5cn7dzynvlksg8y0s9czn2v1sjvc0i7wg"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-static-assertions" ,rust-static-assertions-1))
#: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 APIs")
(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))))
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
(define-public rust-linux-raw-sys-0.0.46
(package