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.
This commit is contained in:
Efraim Flashner 2023-10-02 08:01:50 +03:00
parent afad2e9d8f
commit 2a87ab305e
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -36494,17 +36494,17 @@ (define-public rust-linux-keyutils-0.2
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 @@ (define-public rust-linux-raw-sys-0.3
;; 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)