gnu: Add rust-redox-syscall-0.3.
* gnu/packages/crates-io.scm (rust-redox-syscall-0.3): New variable. (rust-redox-syscall-0.2): Inherit from rust-redox-syscall-0.3.master
parent
4e4fca901f
commit
fb06a020a0
|
@ -49216,9 +49216,32 @@ currently pressed on macOS.")
|
||||||
owned memory.")
|
owned memory.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public rust-redox-syscall-0.3
|
||||||
|
(package
|
||||||
|
(name "rust-redox-syscall")
|
||||||
|
(version "0.3.5")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (crate-uri "redox-syscall" version))
|
||||||
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0acgiy2lc1m2vr8cr33l5s7k9wzby8dybyab1a9p753hcbr68xjn"))))
|
||||||
|
(build-system cargo-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:skip-build? #t
|
||||||
|
#: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.2
|
(define-public rust-redox-syscall-0.2
|
||||||
(package
|
(package
|
||||||
|
(inherit rust-redox-syscall-0.3)
|
||||||
(name "rust-redox-syscall")
|
(name "rust-redox-syscall")
|
||||||
(version "0.2.10")
|
(version "0.2.10")
|
||||||
(source
|
(source
|
||||||
|
@ -49228,16 +49251,10 @@ owned memory.")
|
||||||
(file-name (string-append name "-" version ".tar.gz"))
|
(file-name (string-append name "-" version ".tar.gz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1zq36bhw4c6xig340ja1jmr36iy0d3djp8smsabxx71676bg70w3"))))
|
(base32 "1zq36bhw4c6xig340ja1jmr36iy0d3djp8smsabxx71676bg70w3"))))
|
||||||
(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))))))
|
||||||
(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)))
|
|
||||||
|
|
||||||
;; This package requires features which are unavailable
|
;; This package requires features which are unavailable
|
||||||
;; on the stable releases of Rust.
|
;; on the stable releases of Rust.
|
||||||
|
|
Reference in New Issue