gnu: Add rust-swayipc-async-2.

* gnu/packages/crates-io.scm (rust-swayipc-async-2): Add variable.

Change-Id: I2d9eb7d4ab08e49fc22c1850bb8f4750bfae0359
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-01-30 16:25:04 +01:00 committed by Efraim Flashner
parent 7617ed5d76
commit 7c35e24a89
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -65104,6 +65104,33 @@ interface.")
("rust-swayipc-command-builder" ,rust-swayipc-command-builder-0.1)
("rust-serde-json" ,rust-serde-json-1))))))
(define-public rust-swayipc-async-2
(package
(name "rust-swayipc-async")
(version "2.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "swayipc-async" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1yyv7jwsr2z5azjal5hj8hgxb06dqrnxsaxrnjfjnp1pmwvjch48"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Tests expect a running graphics stack.
#:cargo-inputs (("rust-async-io" ,rust-async-io-2)
("rust-async-pidfd" ,rust-async-pidfd-0.1)
("rust-futures-lite" ,rust-futures-lite-2)
("rust-serde" ,rust-serde-1)
("rust-serde-json" ,rust-serde-json-1)
("rust-swayipc-types" ,rust-swayipc-types-1))))
(home-page "https://github.com/jaycefayne/swayipc-rs")
(synopsis "Library to control sway through IPC interface")
(description
"This package provides a library for controlling sway through its
IPC interface.")
(license license:expat)))
(define-public rust-swayipc-command-builder-0.1
(package
(name "rust-swayipc-command-builder")