me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-calloop-0.12.

* gnu/packages/crates-io.scm (rust-calloop-0.12): New variable.
(rust-calloop-0.10): Inherit from rust-calloop-0.12.

Change-Id: I58291915329c23b9c78a08c6977920aa3c48487e
master
Efraim Flashner 2024-01-04 11:36:06 +02:00
parent e1fb2a9b41
commit df67510897
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 32 additions and 6 deletions

View File

@ -9572,8 +9572,39 @@ cached data.")
spreadsheet file.") spreadsheet file.")
(license license:expat))) (license license:expat)))
(define-public rust-calloop-0.12
(package
(name "rust-calloop")
(version "0.12.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "calloop" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1gxd20zpys0q4v9fg3nrkyhrnjgpkgriidgfm5aqraar9njbal3v"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs (("rust-async-task" ,rust-async-task-4)
("rust-bitflags" ,rust-bitflags-2)
("rust-futures-io" ,rust-futures-io-0.3)
("rust-log" ,rust-log-0.4)
("rust-nix" ,rust-nix-0.26)
("rust-pin-utils" ,rust-pin-utils-0.1)
("rust-polling" ,rust-polling-3)
("rust-rustix" ,rust-rustix-0.38)
("rust-slab" ,rust-slab-0.4)
("rust-thiserror" ,rust-thiserror-1))
#:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)
("rust-rustix" ,rust-rustix-0.38))))
(home-page "https://github.com/Smithay/calloop")
(synopsis "Callback-based event loop")
(description "This package provides a callback-based event loop.")
(license license:expat)))
(define-public rust-calloop-0.10 (define-public rust-calloop-0.10
(package (package
(inherit rust-calloop-0.12)
(name "rust-calloop") (name "rust-calloop")
(version "0.10.5") (version "0.10.5")
(source (origin (source (origin
@ -9583,7 +9614,6 @@ spreadsheet file.")
(sha256 (sha256
(base32 (base32
"14h1yjksd8kakbd4xqz9xjc2gsa97rsdj5g05ivqsisswidj4n8s")))) "14h1yjksd8kakbd4xqz9xjc2gsa97rsdj5g05ivqsisswidj4n8s"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:cargo-test-flags `(#:cargo-test-flags
(list "--release" "--" (list "--release" "--"
@ -9597,11 +9627,7 @@ spreadsheet file.")
("rust-slotmap" ,rust-slotmap-1) ("rust-slotmap" ,rust-slotmap-1)
("rust-thiserror" ,rust-thiserror-1) ("rust-thiserror" ,rust-thiserror-1)
("rust-vec-map" ,rust-vec-map-0.8)) ("rust-vec-map" ,rust-vec-map-0.8))
#:cargo-development-inputs (("rust-futures" ,rust-futures-0.3)))) #:cargo-development-inputs (("rust-futures" ,rust-futures-0.3))))))
(home-page "https://github.com/Smithay/calloop")
(synopsis "Callback-based event loop")
(description "This package provides a callback-based event loop.")
(license license:expat)))
(define-public rust-calloop-0.9 (define-public rust-calloop-0.9
(package (package