unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 56752@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#56752] [PATCH v2 05/10] gnu: Add rust-swayipc-3.
Date: Wed, 26 Oct 2022 10:59:03 +0200	[thread overview]
Message-ID: <20221026085908.2938-5-ngraves@ngraves.fr> (raw)
In-Reply-To: <20221026085908.2938-1-ngraves@ngraves.fr>

* gnu/packages/crates-io.scm (rust-swayipc-3): New variable.
---
 gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++--------
 1 file changed, 27 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f7c9b46ba..934d2a35ef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55724,8 +55724,34 @@ (define-public rust-sval-derive-1
     (description "This package provides custom derive for @code{sval}.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-swayipc-3
+  (package
+    (name "rust-swayipc")
+    (version "3.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayipc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16pf4r6svf99p73b8dhdannkvhfvmbjb4rx7gifxh8xj53rwy7db"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("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 for controlling sway through its IPC interface")
+    (description
+     "This package provides a library for controlling sway through its IPC
+interface.")
+    (license license:expat)))
+
 (define-public rust-swayipc-2
   (package
+    (inherit rust-swayipc-3)
     (name "rust-swayipc")
     (version "2.7.2")
     (source
@@ -55735,20 +55761,13 @@ (define-public rust-swayipc-2
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "03r15c2sijyrxmpsyjgma4gz7zmdl1g8akjnjkw6hrml91d5dilj"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f                      ; test sync::tests::connect ... FAILED
        #:cargo-inputs
        (("rust-serde" ,rust-serde-1)
         ("rust-async-std" ,rust-async-std-1)
         ("rust-swayipc-command-builder" ,rust-swayipc-command-builder-0.1)
-        ("rust-serde-json" ,rust-serde-json-1))))
-    (home-page "https://github.com/jaycefayne/swayipc-rs")
-    (synopsis "Library for controlling sway through its IPC interface")
-    (description
-     "This package provides a library for controlling sway through its IPC
-interface.")
-    (license license:expat)))
+        ("rust-serde-json" ,rust-serde-json-1))))))
 
 (define-public rust-swayipc-command-builder-0.1
   (package
-- 
2.38.0





  parent reply	other threads:[~2022-10-26  9:02 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-24 21:01 [bug#56752] [PATCH 00/27] Add swayr and swayrbar Aleksandr Vityazev
2022-07-24 21:08 ` Maxime Devos
2022-07-24 21:10 ` [bug#56752] [PATCH 01/27] gnu: Add rust-rt-format-0.3 Aleksandr Vityazev
2022-07-24 21:11 ` [bug#56752] [PATCH 02/27] gnu: Add rust-swaybar-types-3 Aleksandr Vityazev
2022-10-25  7:35 ` [bug#56752] swayr Nicolas Graves via Guix-patches via
2022-10-27  5:54   ` kiasoc5 via Guix-patches via
2022-11-28  8:53   ` Andrew Tropin
2022-11-28 10:08     ` Andrew Tropin
2022-10-26  8:28 ` [bug#56752] [PATCH 01/10] gnu: rust-thiserror-impl-1: Update to 1.0.37 Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 02/10] gnu: rust-thiserror-1: " Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 03/10] gnu: Add rust-textwrap-0.15 Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 04/10] gnu: Add rust-swayipc-types-1 Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 05/10] gnu: Add rust-swayipc-3 Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 06/10] gnu: Add rust-rt-format-0.3 Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 07/10] gnu: Add rust-clap-lex-0.2 Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 08/10] gnu: rust-clap-derive-3: Update to 3.1.18 Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 09/10] gnu: rust-clap-3: " Nicolas Graves via Guix-patches via
2022-10-26  8:28   ` [bug#56752] [PATCH 10/10] gnu: Add swayr Nicolas Graves via Guix-patches via
2022-10-26  9:05   ` [bug#56752] [PATCH 01/10] gnu: rust-thiserror-impl-1: Update to 1.0.37 Nicolas Graves via Guix-patches via
2022-10-26  8:58 ` [bug#56752] [PATCH v2 " Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` [bug#56752] [PATCH v2 02/10] gnu: rust-thiserror-1: " Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` [bug#56752] [PATCH v2 03/10] gnu: Add rust-textwrap-0.15 Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` [bug#56752] [PATCH v2 04/10] gnu: Add rust-swayipc-types-1 Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` Nicolas Graves via Guix-patches via [this message]
2022-10-26  8:59   ` [bug#56752] [PATCH v2 06/10] gnu: Add rust-rt-format-0.3 Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` [bug#56752] [PATCH v2 07/10] gnu: Add rust-clap-lex-0.2 Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` [bug#56752] [PATCH v2 08/10] gnu: rust-clap-derive-3: Update to 3.1.18 Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` [bug#56752] [PATCH v2 09/10] gnu: rust-clap-3: " Nicolas Graves via Guix-patches via
2022-10-26  8:59   ` [bug#56752] [PATCH v2 10/10] gnu: Add swayr Nicolas Graves via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221026085908.2938-5-ngraves@ngraves.fr \
    --to=guix-patches@gnu.org \
    --cc=56752@debbugs.gnu.org \
    --cc=ngraves@ngraves.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).