aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-02 21:05:00 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:04 +0200
commit1e16eed2e4194e5ddd59b91c474a7335288194b4 (patch)
treee1977b774474118cb197927376657e778781750e
parent9ac4e6726a4bbace18935ead66c0795896e1b008 (diff)
downloadguix-1e16eed2e4194e5ddd59b91c474a7335288194b4.tar.gz
guix-1e16eed2e4194e5ddd59b91c474a7335288194b4.zip
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
-rw-r--r--gnu/packages/crates-io.scm32
1 files changed, 25 insertions, 7 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5a698c07dd..3cc399a766 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56420,8 +56420,32 @@ currently pressed on macOS.")
owned memory.")
(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
(package
+ (inherit rust-redox-syscall-0.4)
(name "rust-redox-syscall")
(version "0.3.5")
(source (origin
@@ -56431,17 +56455,11 @@ owned memory.")
(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)))
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))))
(define-public rust-redox-syscall-0.2
(package