guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

19/44: gnu: Add rust-swayipc-async-2.


From: guix-commits
Subject: 19/44: gnu: Add rust-swayipc-async-2.
Date: Mon, 12 Feb 2024 07:40:38 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 20829e69b3fd664a27d4ac656199b338ea58b7cc
Author: Herman Rimm <herman@rimm.ee>
AuthorDate: Tue Jan 30 16:25:04 2024 +0100

    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>
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e300aa1fdf..c896e3d136 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]