aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/crates-io.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-10-02 08:01:50 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-10-18 11:35:59 +0300
commit2a87ab305e02ce4cd9ec14270d1c1a78ed868371 (patch)
tree56a76122240a34030c77b973170ff077941b984f /gnu/packages/crates-io.scm
parentafad2e9d8f269c4eaa78cdc167d2482f592142e2 (diff)
downloadguix-2a87ab305e02ce4cd9ec14270d1c1a78ed868371.tar.gz
guix-2a87ab305e02ce4cd9ec14270d1c1a78ed868371.zip
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.
Diffstat (limited to 'gnu/packages/crates-io.scm')
-rw-r--r--gnu/packages/crates-io.scm38
1 files changed, 29 insertions, 9 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f332304031..3eec57ef24 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36494,17 +36494,17 @@ facility. Provides a safe interface around the raw system calls allowing
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 @@ Linux userspace APIs.")
;; 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)