gnu: Add rust-redox-syscall-0.4.
* gnu/packages/crates-io.scm (rust-redox-syscall-0.4): New variable. (rust-redox-syscall-0.3): Inherit from rust-redox-syscall-0.4. Change-Id: Ib9b51998a292994cdaa9b598310e5ef6c706f4b2
This commit is contained in:
parent
9ac4e6726a
commit
1e16eed2e4
1 changed files with 25 additions and 7 deletions
|
@ -56420,8 +56420,32 @@ currently pressed on macOS.")
|
||||||
owned memory.")
|
owned memory.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-redox-syscall-0.4
|
||||||
|
(package
|
||||||
|
(name "rust-redox-syscall")
|
||||||
|
(version "0.4.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "redox_syscall" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32 "1aiifyz5dnybfvkk4cdab9p2kmphag1yad6iknc7aszlxxldf8j7"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:tests? #f ; could not find `CloneFlags` in the crate root
|
||||||
|
#:cargo-inputs
|
||||||
|
(("rust-bitflags" ,rust-bitflags-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
|
||||||
|
(inherit rust-redox-syscall-0.4)
|
||||||
(name "rust-redox-syscall")
|
(name "rust-redox-syscall")
|
||||||
(version "0.3.5")
|
(version "0.3.5")
|
||||||
(source (origin
|
(source (origin
|
||||||
|
@ -56431,17 +56455,11 @@ owned memory.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0acgiy2lc1m2vr8cr33l5s7k9wzby8dybyab1a9p753hcbr68xjn"))))
|
"0acgiy2lc1m2vr8cr33l5s7k9wzby8dybyab1a9p753hcbr68xjn"))))
|
||||||
(build-system cargo-build-system)
|
|
||||||
(arguments
|
(arguments
|
||||||
`(#:skip-build? #t
|
`(#:skip-build? #t
|
||||||
#: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.2
|
(define-public rust-redox-syscall-0.2
|
||||||
(package
|
(package
|
||||||
|
|
Reference in a new issue