gnu: Add rust-redox-syscall-0.5.
* gnu/packages/crates-io.scm (rust-redox-syscall-0.5): New variable. (rust-redox-syscall-0.4): Inherit from rust-redox-syscall-0.5. Change-Id: I8a67a8ad9740cde210eb3a39e31f0986cfdc38ba
This commit is contained in:
parent
a508763592
commit
e7e6c41a58
1 changed files with 25 additions and 7 deletions
|
@ -60944,8 +60944,32 @@ using tokio's @code{RwLock}")
|
||||||
owned memory.")
|
owned memory.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-redox-syscall-0.5
|
||||||
|
(package
|
||||||
|
(name "rust-redox-syscall")
|
||||||
|
(version "0.5.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "redox_syscall" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "0zja6y3av9z50gg1hh0vsc053941wng21r43whhk8mfb9n4m5426"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; Functions not implemented on Linux.
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-2)
|
||||||
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
|
||||||
|
(home-page "https://gitlab.redox-os.org/redox-os/syscall")
|
||||||
|
(synopsis "Rust library to access raw Redox system calls")
|
||||||
|
(description
|
||||||
|
"This package provides a Rust library to access raw Redox system calls.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public rust-redox-syscall-0.4
|
(define-public rust-redox-syscall-0.4
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-redox-syscall-0.5)
|
||||||
(name "rust-redox-syscall")
|
(name "rust-redox-syscall")
|
||||||
(version "0.4.1")
|
(version "0.4.1")
|
||||||
(source
|
(source
|
||||||
|
@ -60955,17 +60979,11 @@ owned memory.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1aiifyz5dnybfvkk4cdab9p2kmphag1yad6iknc7aszlxxldf8j7"))))
|
(base32 "1aiifyz5dnybfvkk4cdab9p2kmphag1yad6iknc7aszlxxldf8j7"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:tests? #f ; could not find `CloneFlags` in the crate root
|
`(#:tests? #f ; could not find `CloneFlags` in the crate root
|
||||||
#:cargo-inputs
|
#:cargo-inputs
|
||||||
(("rust-bitflags" ,rust-bitflags-1)
|
(("rust-bitflags" ,rust-bitflags-1)
|
||||||
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
|
("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
|
||||||
(home-page "https://gitlab.redox-os.org/redox-os/syscall")
|
|
||||||
(synopsis "Rust library to access raw Redox system calls")
|
|
||||||
(description
|
|
||||||
"This package provides a Rust library to access raw Redox system calls.")
|
|
||||||
(license license:expat)))
|
|
||||||
|
|
||||||
(define-public rust-redox-syscall-0.3
|
(define-public rust-redox-syscall-0.3
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue