GNU bug report logs - #56752
[PATCH 00/27] Add swayr and swayrbar.

Previous Next

Package: guix-patches;

Reported by: Aleksandr Vityazev <avityazev <at> posteo.org>

Date: Sun, 24 Jul 2022 21:02:01 UTC

Severity: normal

Tags: patch

Done: Andrew Tropin <andrew <at> trop.in>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 56752 in the body.
You can then email your comments to 56752 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:02:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aleksandr Vityazev <avityazev <at> posteo.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 24 Jul 2022 21:02:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: guix-patches <at> gnu.org
Subject: [PATCH 00/27] Add swayr and swayrbar.
Date: Sun, 24 Jul 2022 21:01:11 +0000
Hi,

The packages whose dependencies have been updated in this patch series
have not yet been checked. For example, ~73 packages depend on
rust-thiserror-1.

Aleksandr Vityazev (27):
  gnu: Add rust-rt-format-0.3.
  gnu: Add rust-swaybar-types-3.
  gnu: rust-thiserror-impl-1: Update to 1.0.31.
  gnu: rust-thiserror-1: Update to 1.0.31.
  gnu: Add rust-swayipc-types-1.
  gnu: Add rust-swayipc-3.
  gnu: Add rust-windows-aarch64-msvc-0.36.
  gnu: Add rust-windows-i686-gnu-0.36.
  gnu: Add rust-windows-i686-msvc-0.36.
  gnu: Add rust-windows-x86-64-gnu-0.36.
  gnu: Add rust-windows-x86-64-msvc-0.36.
  gnu: Add rust-windows-sys-0.36.
  gnu: Add rust-parking-lot-core-0.9.
  gnu: Add rust-parking-lot-0.12.
  gnu: rust-once-cell-1: Update to 1.13.0.
  gnu: rust-regex-syntax-0.6: Update to 0.6.27.
  gnu: rust-regex-1: Update to 1.6.0.
  gnu: Add rust-peg-runtime-0.8.
  gnu: Add rust-peg-macros-0.8.
  gnu: Add rust-peg-0.8.
  gnu: Add rust-clap-lex-0.2.
  gnu: Add rust-unic-emoji-char-0.9.
  gnu: Add rust-textwrap-0.15.
  gnu: rust-clap-derive-3: Update to 3.2.7.
  gnu: rust-clap-3: Update to 3.2.14.
  gnu: Add swayr.
  gnu: Add swayrbar.

 gnu/packages/crates-io.scm | 526 ++++++++++++++++++++++++++++++++++---
 gnu/packages/rust-apps.scm |  77 ++++++
 2 files changed, 569 insertions(+), 34 deletions(-)

-- 
2.37.1





-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:09:01 GMT) Full text and rfc822 format available.

Message #8 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Aleksandr Vityazev <avityazev <at> posteo.org>, 56752 <at> debbugs.gnu.org
Subject: Re: [bug#56752] [PATCH 00/27] Add swayr and swayrbar.
Date: Sun, 24 Jul 2022 23:08:44 +0200
[Message part 1 (text/plain, inline)]
On 24-07-2022 23:01, Aleksandr Vityazev wrote:

>    gnu: Add rust-windows-aarch64-msvc-0.36.
>    gnu: Add rust-windows-i686-gnu-0.36.
>    gnu: Add rust-windows-i686-msvc-0.36.
>    gnu: Add rust-windows-x86-64-gnu-0.36.
>    gnu: Add rust-windows-x86-64-msvc-0.36.

There is already a patch series for adding these: 
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56057>. Please also check 
for the other packages whether they already have patches, and remove 
patches that were already submitted previously from this patch series.

Greetings,
Maxime.



[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:11:02 GMT) Full text and rfc822 format available.

Message #11 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 01/27] gnu: Add rust-rt-format-0.3.
Date: Sun, 24 Jul 2022 21:10:14 +0000



Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:12:01 GMT) Full text and rfc822 format available.

Message #14 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 02/27] gnu: Add rust-swaybar-types-3.
Date: Sun, 24 Jul 2022 21:11:23 +0000



Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:31:01 GMT) Full text and rfc822 format available.

Message #17 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 01/27] gnu: Add rust-rt-format-0.3.
Date: Sun, 24 Jul 2022 21:30:33 +0000
* gnu/packages/crates-io.scm (rust-rt-format-0.3): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 16ac36c9f5..4294c4beda 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14806,6 +14806,31 @@ (define-public rust-roxmltree-0.14
      "@code{roxmltree} represents an XML 1.0 document as a read-only tree.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-rt-format-0.3
+  (package
+    (name "rust-rt-format")
+    (version "0.3.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "rt-format" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/vstojkovic/rt-format")
+    (synopsis "Fully-runtime equivalent of the format! macro")
+    (description "Fully-runtime equivalent of the format! macro.
+Allows formatting strings like the format! macro, with the formatting
+string and the arguments provided at runtime.  This crate supports all
+the formatting features of the format! macro, except for the fill character.")
+    (license license:asl2.0)))
+
 (define-public rust-rust-crypto-0.2
   (package
     (name "rust-rust-crypto")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:33:01 GMT) Full text and rfc822 format available.

Message #20 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 02/27] gnu: Add rust-swaybar-types-3.
Date: Sun, 24 Jul 2022 21:31:49 +0000
* gnu/packages/crates-io.scm (rust-swaybar-types-3): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4294c4beda..be616d29a0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59995,6 +59995,30 @@ (define-public rust-sval-derive-0.4
         ("rust-syn" ,rust-syn-1)
         ("rust-quote" ,rust-quote-1))))))
 
+(define-public rust-swaybar-types-3
+  (package
+    (name "rust-swaybar-types")
+    (version "3.0.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "swaybar-types" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0hz1ialgs4l0ki5s9gqhsdlfy0v3fph7mkw2z1rdi29bjlsv9h52"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/jaycefayne/swaybar-types")
+    (synopsis "Library for building swaybar status commands in rust.")
+    (description
+     "This package provides a library for building swaybar status commands in
+Rust.")
+    (license license:expat)))
+
 (define-public rust-swayipc-2
   (package
     (name "rust-swayipc")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:33:02 GMT) Full text and rfc822 format available.

Message #23 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 03/27] gnu: rust-thiserror-impl-1: Update to 1.0.31.
Date: Sun, 24 Jul 2022 21:32:05 +0000
* gnu/packages/crates-io.scm (rust-thiserror-impl-1): Update to 1.0.31.
---
 gnu/packages/crates-io.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index be616d29a0..657d85f7ec 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62668,16 +62668,15 @@ (define-public rust-thiserror-1
 (define-public rust-thiserror-impl-1
   (package
     (name "rust-thiserror-impl")
-    (version "1.0.26")
+    (version "1.0.31")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "thiserror-impl" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0ia72qiynlws5avb8f1xqlazp4g6bqgzjbwy5vs6nyg7myh6j386"))))
+         "16npm1s1cv9kxkk7is7blnayfnf41hny46gqprc4c916ws4vr5h3"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:33:02 GMT) Full text and rfc822 format available.

Message #26 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 04/27] gnu: rust-thiserror-1: Update to 1.0.31.
Date: Sun, 24 Jul 2022 21:32:36 +0000
* gnu/packages/crates-io.scm (rust-thiserror-1): Update to 1.0.31.
---
 gnu/packages/crates-io.scm | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 657d85f7ec..09d0234fc8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -62640,16 +62640,15 @@ (define-public rust-thin-slice-0.1
 (define-public rust-thiserror-1
   (package
     (name "rust-thiserror")
-    (version "1.0.26")
+    (version "1.0.31")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "thiserror" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1qmz542pq4wmz3p0s4kavsqv09h0x99klkf3k33ydjy1x97rw4ck"))))
+         "16h6d602kmjilbfw28zma22wnh03klqba82n4rv7zlkk4girz0mx"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:34:01 GMT) Full text and rfc822 format available.

Message #29 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 05/27] gnu: Add rust-swayipc-types-1.
Date: Sun, 24 Jul 2022 21:33:08 +0000
* gnu/packages/crates-io.scm (rust-swayipc-types-1): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 09d0234fc8..2974bf344a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60064,6 +60064,32 @@ (define-public rust-swayipc-command-builder-0.1
 executed by swayipc.")
     (license license:expat)))
 
+(define-public rust-swayipc-types-1
+  (package
+    (name "rust-swayipc-types")
+    (version "1.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayipc-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "11p2jj081f7bw2rc6xqvw3y8bdraqqrmm3vsvq5mx7ds00r35jiq"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-thiserror" ,rust-thiserror-1))))
+    (home-page "https://github.com/jaycefayne/swayipc-rs")
+    (synopsis "Library containing Type defintions from sway's IPC interface")
+    (description
+     "This package provides a library containing Type defintions from sway's IPC
+interface.")
+    (license license:expat)))
+
 (define-public rust-swc-1
   (package
     (name "rust-swc")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:34:02 GMT) Full text and rfc822 format available.

Message #32 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 06/27] gnu: Add rust-swayipc-3.
Date: Sun, 24 Jul 2022 21:33:40 +0000
* gnu/packages/crates-io.scm (rust-swayipc-3): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2974bf344a..01ca45349d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60019,6 +60019,32 @@ (define-public rust-swaybar-types-3
 Rust.")
     (license license:expat)))
 
+(define-public rust-swayipc-3
+  (package
+    (name "rust-swayipc")
+    (version "3.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayipc" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1v6arq79b72wm938yvb72j8np04n4ia9r78idg2ffcczp8mpxk20"))))
+    (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
     (name "rust-swayipc")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:36:02 GMT) Full text and rfc822 format available.

Message #35 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Aleksandr Vityazev <avityazev <at> posteo.org>, 56752 <at> debbugs.gnu.org
Subject: Re: [bug#56752] [PATCH 06/27] gnu: Add rust-swayipc-3.
Date: Sun, 24 Jul 2022 23:35:34 +0200
[Message part 1 (text/plain, inline)]
On 24-07-2022 23:33, Aleksandr Vityazev wrote:
> +    (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)))
> +

We already have that package, try "guix edit rust-swayipc". No need to 
override the description, home-page, etc.

Greetings,
Maxime.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:37:01 GMT) Full text and rfc822 format available.

Message #38 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 15/27] gnu: rust-once-cell-1: Update to 1.13.0.
Date: Sun, 24 Jul 2022 21:36:28 +0000
* gnu/packages/crates-io.scm (rust-once-cell-1): Update to 1.13.0.
---
 gnu/packages/crates-io.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b6cab46620..a8a5854acc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39276,7 +39276,7 @@ (define-public rust-onig-sys-69.2
 (define-public rust-once-cell-1
   (package
     (name "rust-once-cell")
-    (version "1.9.0")
+    (version "1.13.0")
     (source
      (origin
        (method url-fetch)
@@ -39284,14 +39284,15 @@ (define-public rust-once-cell-1
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1mfqhrsgi368x92bwnq3vi3p5nv0n1qlrn69gfflhvkfkxfm2cns"))))
+        (base32 "1qfqvgnwfzzwxd13ybvplzshaqwnjnna9ghcn0zgijaq0zixp9hq"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-atomic-polyfill" ,rust-atomic-polyfill-0.1)
-        ("rust-parking-lot" ,rust-parking-lot-0.11))
+        ("rust-parking-lot-core" ,rust-parking-lot-core-0.9))
        #:cargo-development-inputs
-       (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
+       (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-regex" ,rust-regex-1))))
     (home-page "https://github.com/matklad/once_cell")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:38:02 GMT) Full text and rfc822 format available.

Message #41 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 16/27] gnu: rust-regex-syntax-0.6: Update to 0.6.27.
Date: Sun, 24 Jul 2022 21:37:01 +0000
* gnu/packages/crates-io.scm (rust-regex-syntax-0.6): Update to 0.6.27.
---
 gnu/packages/crates-io.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a8a5854acc..1df88bc5aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48504,19 +48504,19 @@ (define-public rust-regex-automata-0.1
 (define-public rust-regex-syntax-0.6
   (package
     (name "rust-regex-syntax")
-    (version "0.6.25")
+    (version "0.6.27")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "regex-syntax" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "16y87hz1bxmmz6kk360cxwfm3jnbsxb3x4zw9x1gzz7khic2i5zl"))))
+        (base32 "0i32nnvyzzkvz1rqp2qyfxrp2170859z8ck37jd63c8irrrppy53"))))
     (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
     (home-page "https://github.com/rust-lang/regex")
     (synopsis "Regular expression parser")
-    (description
-     "This package provides a regular expression parser.")
+    (description "This package provides a regular expression parser.")
     (license (list license:expat license:asl2.0))))
 
 (define-public rust-regex-syntax-0.5
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:38:02 GMT) Full text and rfc822 format available.

Message #44 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 17/27] gnu: rust-regex-1: Update to 1.6.0.
Date: Sun, 24 Jul 2022 21:37:32 +0000
* gnu/packages/crates-io.scm (rust-regex-1): Update to 1.6.0.
[arguments]: Set #:skip-build? to #t.
---
 gnu/packages/crates-io.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1df88bc5aa..eb0272cc6a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -48385,17 +48385,18 @@ (define-public rust-refpool-0.4
 (define-public rust-regex-1
   (package
     (name "rust-regex")
-    (version "1.5.4")
+    (version "1.6.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "regex" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0qf479kjbmb582h4d1d6gfl75h0j8aq2nrdi5wg6zdcy6llqcynh"))))
+        (base32 "12wqvyh4i75j7pc8sgvmqh4yy3qaj4inc4alyv1cdf3lf4kb6kjc"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-aho-corasick" ,rust-aho-corasick-0.7)
         ("rust-memchr" ,rust-memchr-2)
         ("rust-regex-syntax" ,rust-regex-syntax-0.6))
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:38:03 GMT) Full text and rfc822 format available.

Message #47 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Aleksandr Vityazev <avityazev <at> posteo.org>, 56752 <at> debbugs.gnu.org
Subject: Re: [bug#56752] [PATCH 05/27] gnu: Add rust-swayipc-types-1.
Date: Sun, 24 Jul 2022 23:37:43 +0200
[Message part 1 (text/plain, inline)]
On 24-07-2022 23:33, Aleksandr Vityazev wrote:
> +  (package
> +    (name "rust-swayipc-types")
> +    (version "1.1.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "swayipc-types" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "11p2jj081f7bw2rc6xqvw3y8bdraqqrmm3vsvq5mx7ds00r35jiq"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:skip-build? #t
> +       #:cargo-inputs
> +       (("rust-serde" ,rust-serde-1)
> +        ("rust-serde-json" ,rust-serde-json-1)
> +        ("rust-thiserror" ,rust-thiserror-1))))

Warning: this is one of those overly picky packages that pin the minor 
version of rust-serde & rust-serde-json & rust-thiserror, you will have 
to patch the Cargo.toml to relax it a bit, otherwise it will break with 
future updates to rust-swayipc-types. Alternatively, you can wait for 
antioxidant.

Greetings,
Maxime.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:39:02 GMT) Full text and rfc822 format available.

Message #50 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 18/27] gnu: Add rust-peg-runtime-0.8.
Date: Sun, 24 Jul 2022 21:37:58 +0000
* gnu/packages/crates-io.scm (rust-peg-runtime-0.8): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb0272cc6a..15dc3a658f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41867,6 +41867,27 @@ (define-public rust-peg-macros-0.6
 procedural macros for rust-peg.  To use rust-peg, see the peg package.")
     (license license:expat)))
 
+(define-public rust-peg-runtime-0.8
+  (package
+    (name "rust-peg-runtime")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "peg-runtime" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "17znn3433nhhwks3zrmry2y45i4y4xgl4q2dsh4s9hq3pb9yzc7r"))))
+    (build-system cargo-build-system)
+    (arguments `(#:skip-build? #t))
+    (home-page "https://github.com/kevinmehall/rust-peg")
+    (synopsis "Runtime support for rust-peg grammars")
+    (description
+     "PEG provides a Parsing Expression Grammar.  This package provides
+runtime support for rust-peg grammars.  To use rust-peg, see the peg crate.")
+    (license license:expat)))
+
 (define-public rust-peg-runtime-0.6
   (package
     (name "rust-peg-runtime")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:39:02 GMT) Full text and rfc822 format available.

Message #53 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 19/27] gnu: Add rust-peg-macros-0.8.
Date: Sun, 24 Jul 2022 21:38:25 +0000
* gnu/packages/crates-io.scm (rust-peg-macros-0.8): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 15dc3a658f..cf0c8f7150 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41841,6 +41841,32 @@ (define-public rust-peg-0.5
     (arguments
      `(#:cargo-inputs (("rust-quote" ,rust-quote-0.3))))))
 
+(define-public rust-peg-macros-0.8
+  (package
+    (name "rust-peg-macros")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "peg-macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "05nwzh94lvkalkm4cjac9gqlk3nfri7r7bfbjm4842vpgcabwdj5"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-peg-runtime" ,rust-peg-runtime-0.8)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1))))
+    (home-page "https://github.com/kevinmehall/rust-peg")
+    (synopsis "Procedural macros for rust-peg")
+    (description
+     "PEG provides a Parsing Expression Grammar.  This package provides
+procedural macros for rust-peg.  To use rust-peg, see the peg package.")
+    (license license:expat)))
+
 (define-public rust-peg-macros-0.6
   (package
     (name "rust-peg-macros")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:39:03 GMT) Full text and rfc822 format available.

Message #56 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 20/27] gnu: Add rust-peg-0.8.
Date: Sun, 24 Jul 2022 21:38:46 +0000
* gnu/packages/crates-io.scm (rust-peg-0.8): New variable.
---
 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 cf0c8f7150..fb4fa7b0ff 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41795,6 +41795,33 @@ (define-public rust-peeking-take-while-0.1
     (license (list license:asl2.0
                    license:expat))))
 
+(define-public rust-peg-0.8
+  (package
+    (name "rust-peg")
+    (version "0.8.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "peg" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0b6dgycdclxfxdp6ag9px99mjj04s7k3vs9pijrz66l14vl8ywmg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-peg-macros" ,rust-peg-macros-0.8)
+        ("rust-peg-runtime" ,rust-peg-runtime-0.8))
+       #:cargo-development-inputs
+       (("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/kevinmehall/rust-peg")
+    (synopsis "Simple Parsing Expression Grammar (PEG) parser generator")
+    (description
+     "PEG provides a simple Parsing Expression Grammar (PEG) parser generator
+in Rust.")
+    (license license:expat)))
+
 (define-public rust-peg-0.6
   (package
     (name "rust-peg")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:43:01 GMT) Full text and rfc822 format available.

Message #59 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Aleksandr Vityazev <avityazev <at> posteo.org>, 56752 <at> debbugs.gnu.org
Subject: Re: [bug#56752] [PATCH 06/27] gnu: Add rust-swayipc-3.
Date: Sun, 24 Jul 2022 23:42:12 +0200
[Message part 1 (text/plain, inline)]
On 24-07-2022 23:33, Aleksandr Vityazev wrote:
> +(define-public rust-swayipc-3
> +  (package
> +    (name "rust-swayipc")
> +    (version "3.0.0")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "swayipc" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32
> +         "1v6arq79b72wm938yvb72j8np04n4ia9r78idg2ffcczp8mpxk20"))))

Looks like this can not legally be distributed as-is -- from the expat 
license:

> Permission is hereby granted, free of charge, to any person obtaining 
> a copy of this software and associated documentation files (the 
> "Software"), to deal in the Software without restriction, including 
> without limitation the rights to use, copy, modify, merge, publish, 
> distribute, sublicense, and/or sell copies of the Software, and to 
> permit persons to whom the Software is furnished to do so, ___subject 
> to the following conditions___:
>
> __The above copyright notice and this permission notice shall be 
> included in all copies or substantial portions of the Software.___
>
(emphasis mine).

This notice is missing from the tarball I've downloaded.  The other 
packages might have the same issue, please check.

Greetings,
Maxime


[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:43:02 GMT) Full text and rfc822 format available.

Message #62 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Aleksandr Vityazev <avityazev <at> posteo.org>, 56752 <at> debbugs.gnu.org
Subject: Re: [bug#56752] [PATCH 05/27] gnu: Add rust-swayipc-types-1.
Date: Sun, 24 Jul 2022 23:42:41 +0200
[Message part 1 (text/plain, inline)]
On 24-07-2022 23:37, Maxime Devos wrote:
> Warning: this is one of those overly picky packages that pin the minor 
> version of rust-serde & rust-serde-json & rust-thiserror, you will 
> have to patch the Cargo.toml to relax it a bit, otherwise it will 
> break with future updates to rust-swayipc-types. Alternatively, you 
> can wait for antioxidant. 
(Also check for the other packages)
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:44:01 GMT) Full text and rfc822 format available.

Message #65 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: Aleksandr Vityazev <avityazev <at> posteo.org>, 56752 <at> debbugs.gnu.org
Subject: Re: [bug#56752] [PATCH 15/27] gnu: rust-once-cell-1: Update to 1.13.0.
Date: Sun, 24 Jul 2022 23:43:18 +0200
[Message part 1 (text/plain, inline)]
On 24-07-2022 23:36, Aleksandr Vityazev wrote:
>          (("rust-atomic-polyfill" ,rust-atomic-polyfill-0.1)
> -        ("rust-parking-lot" ,rust-parking-lot-0.11))
> +        ("rust-parking-lot-core" ,rust-parking-lot-core-0.9))
>          #:cargo-development-inputs
> -       (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.7)
> +       (("rust-crossbeam-utils" ,rust-crossbeam-utils-0.8)

This is another one of those overly-strict packages.

Greetings,
Maxime.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:44:02 GMT) Full text and rfc822 format available.

Message #68 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 21/27] gnu: Add rust-clap-lex-0.2.
Date: Sun, 24 Jul 2022 21:43:28 +0000
* gnu/packages/crates-io.scm (rust-clap-lex-0.2): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fb4fa7b0ff..8eb075ab8f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73554,6 +73554,28 @@ (define-public rust-clap-conf-0.1
       "This package provides a library to unify commandline arguments with config files and environment variables.  And make it easier for users to tell your program how to behave across the three main input sources")
     (license license:expat)))
 
+(define-public rust-clap-lex-0.2
+  (package
+    (name "rust-clap-lex")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clap-lex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1ib1a9v55ybnaws11l63az0jgz5xiy24jkdgsmyl7grcm3sz4l18"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-os-str-bytes" ,rust-os-str-bytes-6))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
+    (synopsis "Minimal, flexible command line parser")
+    (description "This package provides minimal, flexible command line parser.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-cvss-1
   (package
     (name "rust-cvss")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:48:01 GMT) Full text and rfc822 format available.

Message #71 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 24/27] gnu: rust-clap-derive-3: Update to 3.2.7.
Date: Sun, 24 Jul 2022 21:47:02 +0000
* gnu/packages/crates-io.scm (rust-clap-derive-3): Update to 3.2.7.
[source]<origin>: Update URI.
[arguments]<#:cargo-inputs>: Update.
---
 gnu/packages/crates-io.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f9a11dd408..ef7e5f16d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -11192,21 +11192,21 @@ (define-public rust-clang-sys-0.11
 (define-public rust-clap-derive-3
   (package
     (name "rust-clap-derive")
-    (version "3.0.0-beta.2")
+    (version "3.2.7")
     (source
      (origin
        (method url-fetch)
-       (uri (crate-uri "clap_derive" version))
+       (uri (crate-uri "clap-derive" version))
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp"))))
+         "00prk3kkk4fi5aavlpa10d9akrx3cjkfcndrhmxzl6kf6y3z36vm"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-heck" ,rust-heck-0.3)
+       (("rust-heck" ,rust-heck-0.4)
         ("rust-proc-macro-error"
          ,rust-proc-macro-error-1)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:49:02 GMT) Full text and rfc822 format available.

Message #74 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 26/27] gnu: Add swayr.
Date: Sun, 24 Jul 2022 21:47:52 +0000
* gnu/packages/rust-apps.scm (swayr): New variable.
---
 gnu/packages/rust-apps.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 0d5034ffb7..e15d505818 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1627,6 +1627,44 @@ (define-public swayhide
 terminal won't have to take up any space.")
     (license license:gpl3+)))
 
+(define-public swayr
+  (package
+    (name "swayr")
+    (version "0.20.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayr" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1a79dwj0gy11w7skli7k9rwn3jxb5afirfkrmpymk2vp7lalwx8k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=config::test_load_swayr_config")
+       #:cargo-inputs
+       (("rust-clap" ,rust-clap-3)
+        ("rust-directories" ,rust-directories-4)
+        ("rust-env-logger" ,rust-env-logger-0.9)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-peg" ,rust-peg-0.8)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-rt-format" ,rust-rt-format-0.3)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-swayipc" ,rust-swayipc-3)
+        ("rust-toml" ,rust-toml-0.5))))
+    (home-page "https://sr.ht/~tsdh/swayr/")
+    (synopsis "LRU window-switcher (and more) for the sway window manager")
+    (description
+     "This package provides a LRU window-switcher (and more) for the sway window
+manager.")
+    (license license:gpl3+)))
+
 (define-public tealdeer
   (package
     (name "tealdeer")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 21:49:02 GMT) Full text and rfc822 format available.

Message #77 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: 56752 <at> debbugs.gnu.org
Subject: [PATCH 27/27] gnu: Add swayrbar.
Date: Sun, 24 Jul 2022 21:48:09 +0000
* gnu/packages/rust-apps.scm (swayrbar): New variable.
---
 gnu/packages/rust-apps.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index e15d505818..990e8368b9 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1665,6 +1665,45 @@ (define-public swayr
 manager.")
     (license license:gpl3+)))
 
+(define-public swayrbar
+  (package
+    (name "swayrbar")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayrbar" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "10k3qgm9hr1p54vvf1gnydbp7flvwkk382bb2x943bhvc26g2l7x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags
+       '("--release" "--"
+         "--skip=config::test_load_swayrbar_config")
+       #:cargo-inputs
+       (("rust-battery" ,rust-battery-0.7)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-clap" ,rust-clap-3)
+        ("rust-directories" ,rust-directories-4)
+        ("rust-env-logger" ,rust-env-logger-0.9)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-rt-format" ,rust-rt-format-0.3)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-swaybar-types" ,rust-swaybar-types-3)
+        ("rust-swayipc" ,rust-swayipc-3)
+        ("rust-sysinfo" ,rust-sysinfo-0.23)
+        ("rust-toml" ,rust-toml-0.5))))
+    (home-page "https://sr.ht/~tsdh/swayr/#swayrbar")
+    (synopsis "Swaybar-protocol implementation for sway/swaybar")
+    (description
+     "This package provides a swaybar-protocol implementation for sway/swaybar.")
+    (license license:gpl3+)))
+
 (define-public tealdeer
   (package
     (name "tealdeer")
-- 
2.37.1



-- 

Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Sun, 24 Jul 2022 22:10:02 GMT) Full text and rfc822 format available.

Message #80 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Aleksandr Vityazev <avityazev <at> posteo.org>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 56752 <at> debbugs.gnu.org
Subject: Re: bug#56752: [PATCH 00/27] Add swayr and swayrbar.
Date: Sun, 24 Jul 2022 22:08:47 +0000
On 2022-07-24, 23:35 +0200, Maxime Devos <maximedevos <at> telenet.be> wrote:

> On 24-07-2022 23:33, Aleksandr Vityazev wrote:
>> +    (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)))
>> +
>
> We already have that package, try "guix edit rust-swayipc". No need to override the description,
> home-page, etc.

We have rust-swayipc-2, and I have not seen the newer version inherited
from the older one. In this case, we can add inheritance for
rust-swayipc-2.

-- 
Best regards,
Aleksandr Vityazev




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Tue, 25 Oct 2022 07:36:01 GMT) Full text and rfc822 format available.

Message #83 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be, avityazev <at> posteo.org
Subject: swayr
Date: Tue, 25 Oct 2022 09:35:16 +0200
Hi!

I will also like to see swayr packaged for guix, and am willing to help.
I did have a working 0.18 version in my dotfiles with almost all
development dependencies also included, but I see this 0.20 attempt.

What would be the best process to eventually package this one? Is there
a reason this thread has not been merged?

I can try and update my 0.18 version to 0.20 and get this version to work
properly in my guix checkout, if that might help.

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:29:02 GMT) Full text and rfc822 format available.

Message #86 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 01/10] gnu: rust-thiserror-impl-1: Update to 1.0.37.
Date: Wed, 26 Oct 2022 10:28:08 +0200
* gnu/packages/crates-io.scm (rust-thiserror-impl-1): Update to 1.0.37.
---
 gnu/packages/crates-io.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 420e254fb3..c7b87dd8a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58089,16 +58089,14 @@ (define-public rust-thiserror-1
 (define-public rust-thiserror-impl-1
   (package
     (name "rust-thiserror-impl")
-    (version "1.0.26")
+    (version "1.0.37")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "thiserror-impl" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0ia72qiynlws5avb8f1xqlazp4g6bqgzjbwy5vs6nyg7myh6j386"))))
+        (base32 "1fydmpksd14x1mkc24zas01qjssz8q43sbn2ywl6n527dda1fbcq"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:29:03 GMT) Full text and rfc822 format available.

Message #89 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 02/10] gnu: rust-thiserror-1: Update to 1.0.37.
Date: Wed, 26 Oct 2022 10:28:09 +0200
* gnu/packages/crates-io.scm (rust-thiserror-1): Update to 1.0.37.
---
 gnu/packages/crates-io.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7b87dd8a2..eb4a0c2c9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58061,16 +58061,14 @@ (define-public rust-thin-slice-0.1
 (define-public rust-thiserror-1
   (package
     (name "rust-thiserror")
-    (version "1.0.26")
+    (version "1.0.37")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "thiserror" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1qmz542pq4wmz3p0s4kavsqv09h0x99klkf3k33ydjy1x97rw4ck"))))
+        (base32 "0gky83x4i87gd87w3fknnp920wvk9yycp7dgkf5h3jg364vb7phh"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:29:03 GMT) Full text and rfc822 format available.

Message #92 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 03/10] gnu: Add rust-textwrap-0.15.
Date: Wed, 26 Oct 2022 10:28:10 +0200
* gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable.
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb4a0c2c9e..a5a4a41e84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57982,8 +57982,39 @@ (define-public rust-text-size-1
     (description "This package provides a newtypes for text offsets")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-textwrap-0.15
+  (package
+    (name "rust-textwrap")
+    (version "0.15.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "textwrap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-hyphenation" ,rust-hyphenation-0.8)
+        ("rust-smawk" ,rust-smawk-0.3)
+        ("rust-terminal-size" ,rust-terminal-size-0.1)
+        ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page
+     "https://github.com/mgeisler/textwrap")
+    (synopsis "Library for word wrapping, indenting, and dedenting strings")
+    (description
+     "Textwrap is a small library for word wrapping, indenting, and dedenting
+strings.  You can use it to format strings (such as help and error messages)
+for display in commandline applications.  It is designed to be efficient and
+handle Unicode characters correctly.")
+    (license license:expat)))
+
 (define-public rust-textwrap-0.12
   (package
+    (inherit rust-textwrap-0.15)
     (name "rust-textwrap")
     (version "0.12.1")
     (source
@@ -57995,22 +58026,12 @@ (define-public rust-textwrap-0.12
        (sha256
         (base32
          "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-hyphenation" ,rust-hyphenation-0.8)
         ("rust-terminal-size" ,rust-terminal-size-0.1)
-        ("rust-unicode-width" ,rust-unicode-width-0.1))))
-    (home-page
-     "https://github.com/mgeisler/textwrap")
-    (synopsis "Library for word wrapping, indenting, and dedenting strings")
-    (description
-     "Textwrap is a small library for word wrapping, indenting, and dedenting
-strings.  You can use it to format strings (such as help and error messages)
-for display in commandline applications.  It is designed to be efficient and
-handle Unicode characters correctly.")
-    (license license:expat)))
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))))
 
 (define-public rust-textwrap-0.11
   (package
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:29:04 GMT) Full text and rfc822 format available.

Message #95 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 04/10] gnu: Add rust-swayipc-types-1.
Date: Wed, 26 Oct 2022 10:28:11 +0200
* gnu/packages/crates-io.scm (rust-swayipc-types-1): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a5a4a41e84..4f7c9b46ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55769,6 +55769,31 @@ (define-public rust-swayipc-command-builder-0.1
 executed by swayipc.")
     (license license:expat)))
 
+(define-public rust-swayipc-types-1
+  (package
+   (name "rust-swayipc-types")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayipc-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13lj6jyyxg41r9g0b07y8yd7ygy5gih61w5v48bpksvfdzhwwn55"))))
+   (build-system cargo-build-system)
+   (arguments
+    `(#:skip-build? #t
+      #:cargo-inputs
+      (("rust-serde" ,rust-serde-1)
+       ("rust-serde-json" ,rust-serde-json-1)
+       ("rust-thiserror" ,rust-thiserror-1))))
+   (home-page "https://github.com/jaycefayne/swayipc-rs")
+   (synopsis "A library containing Type defintions from sway's IPC interface")
+   (description
+    "This package provides a library containing Type defintions from sway's IPC
+interface")
+   (license license:expat)))
+
 (define-public rust-syn-1
   (package
     (name "rust-syn")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:30:03 GMT) Full text and rfc822 format available.

Message #98 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 05/10] gnu: Add rust-swayipc-3.
Date: Wed, 26 Oct 2022 10:28:12 +0200
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:30:03 GMT) Full text and rfc822 format available.

Message #101 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 06/10] gnu: Add rust-rt-format-0.3.
Date: Wed, 26 Oct 2022 10:28:13 +0200
* gnu/packages/crates-io.scm (rust-rt-format-0.3): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 934d2a35ef..863f693b8d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68275,6 +68275,28 @@ (define-public rust-inflections-1
       "High performance inflection transformation library for changing properties of words like the case.")
     (license license:expat)))
 
+(define-public rust-rt-format-0.3
+  (package
+    (name "rust-rt-format")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rt-format" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/vstojkovic/rt-format")
+    (synopsis "Fully-runtime equivalent of the format! macro")
+    (description "Fully-runtime equivalent of the format! macro")
+    (license license:asl2.0)))
+
 (define-public rust-rustc-workspace-hack-1
   (package
     (name "rust-rustc-workspace-hack")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:30:04 GMT) Full text and rfc822 format available.

Message #104 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 07/10] gnu: Add rust-clap-lex-0.2.
Date: Wed, 26 Oct 2022 10:28:14 +0200
* gnu/packages/crates-io.scm (rust-clap-lex-0.2): New variable.
---
 gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 863f693b8d..cf086b882b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68468,6 +68468,26 @@ (define-public rust-clap-conf-0.1
       "This package provides a library to unify commandline arguments with config files and environment variables.  And make it easier for users to tell your program how to behave across the three main input sources")
     (license license:expat)))
 
+(define-public rust-clap-lex-0.2
+  (package
+    (name "rust-clap-lex")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clap_lex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ib1a9v55ybnaws11l63az0jgz5xiy24jkdgsmyl7grcm3sz4l18"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-os-str-bytes" ,rust-os-str-bytes-6))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
+    (synopsis "Minimal, flexible command line parser")
+    (description "Minimal, flexible command line parser")
+    (license (list license:expat license:asl2.0))))
+
 (define-public svd2rust
   (package
     (name "svd2rust")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:30:04 GMT) Full text and rfc822 format available.

Message #107 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 08/10] gnu: rust-clap-derive-3: Update to 3.1.18.
Date: Wed, 26 Oct 2022 10:28:15 +0200
* gnu/packages/crates-io.scm (rust-clap-derive-3): Update to 3.1.18.
---
 gnu/packages/crates-io.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf086b882b..fc70f3f7d8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10458,23 +10458,20 @@ (define-public rust-clang-sys-0.11
 (define-public rust-clap-derive-3
   (package
     (name "rust-clap-derive")
-    (version "3.0.0-beta.2")
+    (version "3.1.18")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "clap_derive" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp"))))
+        (base32 "0g53w6qkqcc122bqh51jzfg51147il643idvq1czxkr2x5306ci5"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-heck" ,rust-heck-0.3)
-        ("rust-proc-macro-error"
-         ,rust-proc-macro-error-1)
+       (("rust-heck" ,rust-heck-0.4)
+        ("rust-proc-macro-error" ,rust-proc-macro-error-1)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:30:04 GMT) Full text and rfc822 format available.

Message #110 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 09/10] gnu: rust-clap-3: Update to 3.1.18.
Date: Wed, 26 Oct 2022 10:28:16 +0200
* gnu/packages/crates-io.scm (rust-clap-3): Update to 3.1.18.
---
 gnu/packages/crates-io.scm | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc70f3f7d8..20ef816312 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10486,36 +10486,43 @@ (define-public rust-clap-derive-3
 (define-public rust-clap-3
   (package
     (name "rust-clap")
-    (version "3.0.0-beta.2")
+    (version "3.1.18")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "clap" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0hm1kivw6190rxbfqhdr4hqwlrijvwh90i3d9dyyw0d5k0chdlab"))))
+        (base32 "02s4hk9hrmm2s1j7dkbwpyd75mfzx3p8ks2chmp4ccybv95xznyj"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-atty" ,rust-atty-0.2)
+        ("rust-backtrace" ,rust-backtrace-0.3)
         ("rust-bitflags" ,rust-bitflags-1)
         ("rust-clap-derive" ,rust-clap-derive-3)
+        ("rust-clap-lex" ,rust-clap-lex-0.2)
         ("rust-indexmap" ,rust-indexmap-1)
-        ("rust-os-str-bytes" ,rust-os-str-bytes-2)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1)
         ("rust-strsim" ,rust-strsim-0.10)
         ("rust-termcolor" ,rust-termcolor-1)
         ("rust-terminal-size" ,rust-terminal-size-0.1)
-        ("rust-textwrap" ,rust-textwrap-0.12)
-        ("rust-unicode-width" ,rust-unicode-width-0.1)
-        ("rust-vec-map" ,rust-vec-map-0.8)
+        ("rust-textwrap" ,rust-textwrap-0.15)
+        ("rust-unicase" ,rust-unicase-2)
         ("rust-yaml-rust" ,rust-yaml-rust-0.4))
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-humantime" ,rust-humantime-2)
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-regex" ,rust-regex-1)
-        ("rust-version-sync" ,rust-version-sync-0.8))))
+        ("rust-rustversion" ,rust-rustversion-1)
+        ("rust-shlex" ,rust-shlex-1)
+        ("rust-snapbox" ,rust-snapbox-0.4)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ;; ("rust-trycmd" ,rust-trycmd-0.13)
+       )))
     (home-page "https://clap.rs/")
     (synopsis "Command Line Argument Parser")
     (description
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 08:30:05 GMT) Full text and rfc822 format available.

Message #113 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH 10/10] gnu: Add swayr.
Date: Wed, 26 Oct 2022 10:28:17 +0200
* gnu/packages/rust-apps.scm (swayr): New variable.
---
 gnu/packages/rust-apps.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 693489264d..66b89a6b2a 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1900,6 +1900,43 @@ (define-public swayhide
 terminal won't have to take up any space.")
     (license license:gpl3+)))
 
+(define-public swayr
+  (package
+   (name "swayr")
+   (version "0.18.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (crate-uri "swayr" version))
+     (file-name (string-append name "-" version ".tar.gz"))
+     (sha256
+      (base32 "1m443lwbs3lm20kkviw60db56w9i59dm393z1sn6llpfi2xihh3h"))))
+   (build-system cargo-build-system)
+   (arguments
+    `(#:tests? #f
+      #:cargo-inputs
+      (("rust-clap" ,rust-clap-3)
+       ("rust-directories" ,rust-directories-4)
+       ("rust-env-logger" ,rust-env-logger-0.9)
+       ("rust-log" ,rust-log-0.4)
+       ("rust-once-cell" ,rust-once-cell-1)
+       ("rust-rand" ,rust-rand-0.8)
+       ("rust-regex" ,rust-regex-1)
+       ("rust-rt-format" ,rust-rt-format-0.3)
+       ("rust-serde" ,rust-serde-1)
+       ("rust-serde-json" ,rust-serde-json-1)
+       ("rust-swayipc" ,rust-swayipc-3)
+       ("rust-toml" ,rust-toml-0.5))))
+   (home-page "https://sr.ht/~tsdh/swayr/")
+   (synopsis "Window-switcher for the sway window manager")
+   (description
+    "This package provides a last-recently-used window-switcher for the sway
+window manager. Swayr consists of a daemon, and a client. The swayrd daemon
+records window/workspace creations, deletions, and focus changes using sway's
+JSON IPC interface. The swayr client offers subcommands, and sends them to the
+daemon which executes them.")
+   (license license:gpl3+)))
+
 (define-public tealdeer
   (package
     (name "tealdeer")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:02 GMT) Full text and rfc822 format available.

Message #116 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 01/10] gnu: rust-thiserror-impl-1: Update to 1.0.37.
Date: Wed, 26 Oct 2022 10:58:59 +0200
* gnu/packages/crates-io.scm (rust-thiserror-impl-1): Update to 1.0.37.
---
 gnu/packages/crates-io.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 420e254fb3..c7b87dd8a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58089,16 +58089,14 @@ (define-public rust-thiserror-1
 (define-public rust-thiserror-impl-1
   (package
     (name "rust-thiserror-impl")
-    (version "1.0.26")
+    (version "1.0.37")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "thiserror-impl" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0ia72qiynlws5avb8f1xqlazp4g6bqgzjbwy5vs6nyg7myh6j386"))))
+        (base32 "1fydmpksd14x1mkc24zas01qjssz8q43sbn2ywl6n527dda1fbcq"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:03 GMT) Full text and rfc822 format available.

Message #119 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 02/10] gnu: rust-thiserror-1: Update to 1.0.37.
Date: Wed, 26 Oct 2022 10:59:00 +0200
* gnu/packages/crates-io.scm (rust-thiserror-1): Update to 1.0.37.
---
 gnu/packages/crates-io.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c7b87dd8a2..eb4a0c2c9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58061,16 +58061,14 @@ (define-public rust-thin-slice-0.1
 (define-public rust-thiserror-1
   (package
     (name "rust-thiserror")
-    (version "1.0.26")
+    (version "1.0.37")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "thiserror" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "1qmz542pq4wmz3p0s4kavsqv09h0x99klkf3k33ydjy1x97rw4ck"))))
+        (base32 "0gky83x4i87gd87w3fknnp920wvk9yycp7dgkf5h3jg364vb7phh"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:03 GMT) Full text and rfc822 format available.

Message #122 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 03/10] gnu: Add rust-textwrap-0.15.
Date: Wed, 26 Oct 2022 10:59:01 +0200
* gnu/packages/crates-io.scm (rust-textwrap-0.15): New variable.
---
 gnu/packages/crates-io.scm | 43 ++++++++++++++++++++++++++++----------
 1 file changed, 32 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index eb4a0c2c9e..a5a4a41e84 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57982,8 +57982,39 @@ (define-public rust-text-size-1
     (description "This package provides a newtypes for text offsets")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-textwrap-0.15
+  (package
+    (name "rust-textwrap")
+    (version "0.15.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "textwrap" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1yw513k61lfiwgqrfvsjw1a5wpvm0azhpjr2kr0jhnq9c56is55i"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-hyphenation" ,rust-hyphenation-0.8)
+        ("rust-smawk" ,rust-smawk-0.3)
+        ("rust-terminal-size" ,rust-terminal-size-0.1)
+        ("rust-unicode-linebreak" ,rust-unicode-linebreak-0.1)
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))
+    (home-page
+     "https://github.com/mgeisler/textwrap")
+    (synopsis "Library for word wrapping, indenting, and dedenting strings")
+    (description
+     "Textwrap is a small library for word wrapping, indenting, and dedenting
+strings.  You can use it to format strings (such as help and error messages)
+for display in commandline applications.  It is designed to be efficient and
+handle Unicode characters correctly.")
+    (license license:expat)))
+
 (define-public rust-textwrap-0.12
   (package
+    (inherit rust-textwrap-0.15)
     (name "rust-textwrap")
     (version "0.12.1")
     (source
@@ -57995,22 +58026,12 @@ (define-public rust-textwrap-0.12
        (sha256
         (base32
          "12978qmkl5gcp94lxndpvp9qxq8mxp7hm9xbrw3422dgikchhc10"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-hyphenation" ,rust-hyphenation-0.8)
         ("rust-terminal-size" ,rust-terminal-size-0.1)
-        ("rust-unicode-width" ,rust-unicode-width-0.1))))
-    (home-page
-     "https://github.com/mgeisler/textwrap")
-    (synopsis "Library for word wrapping, indenting, and dedenting strings")
-    (description
-     "Textwrap is a small library for word wrapping, indenting, and dedenting
-strings.  You can use it to format strings (such as help and error messages)
-for display in commandline applications.  It is designed to be efficient and
-handle Unicode characters correctly.")
-    (license license:expat)))
+        ("rust-unicode-width" ,rust-unicode-width-0.1))))))
 
 (define-public rust-textwrap-0.11
   (package
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:04 GMT) Full text and rfc822 format available.

Message #125 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 04/10] gnu: Add rust-swayipc-types-1.
Date: Wed, 26 Oct 2022 10:59:02 +0200
* gnu/packages/crates-io.scm (rust-swayipc-types-1): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a5a4a41e84..4f7c9b46ba 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55769,6 +55769,31 @@ (define-public rust-swayipc-command-builder-0.1
 executed by swayipc.")
     (license license:expat)))
 
+(define-public rust-swayipc-types-1
+  (package
+   (name "rust-swayipc-types")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "swayipc-types" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "13lj6jyyxg41r9g0b07y8yd7ygy5gih61w5v48bpksvfdzhwwn55"))))
+   (build-system cargo-build-system)
+   (arguments
+    `(#:skip-build? #t
+      #:cargo-inputs
+      (("rust-serde" ,rust-serde-1)
+       ("rust-serde-json" ,rust-serde-json-1)
+       ("rust-thiserror" ,rust-thiserror-1))))
+   (home-page "https://github.com/jaycefayne/swayipc-rs")
+   (synopsis "A library containing Type defintions from sway's IPC interface")
+   (description
+    "This package provides a library containing Type defintions from sway's IPC
+interface")
+   (license license:expat)))
+
 (define-public rust-syn-1
   (package
     (name "rust-syn")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:05 GMT) Full text and rfc822 format available.

Message #128 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 05/10] gnu: Add rust-swayipc-3.
Date: Wed, 26 Oct 2022 10:59:03 +0200
* 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





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:05 GMT) Full text and rfc822 format available.

Message #131 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 06/10] gnu: Add rust-rt-format-0.3.
Date: Wed, 26 Oct 2022 10:59:04 +0200
* gnu/packages/crates-io.scm (rust-rt-format-0.3): New variable.
---
 gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 934d2a35ef..064f6d39cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68275,6 +68275,32 @@ (define-public rust-inflections-1
       "High performance inflection transformation library for changing properties of words like the case.")
     (license license:expat)))
 
+(define-public rust-rt-format-0.3
+  (package
+    (name "rust-rt-format")
+    (version "0.3.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "rt-format" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1qjjwh9ny95xck1kp99gi6hfm9glrx54jx8npnj6yccxc7p7q225"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/vstojkovic/rt-format")
+    (synopsis "Runtime equivalent of the Rust format! macro")
+    (description "This package provides a runtime equivalent of the Rust
+format! macro. It allows formatting strings like the format! macro, with the
+formatting string and the arguments provided at runtime.  This crate supports
+all the formatting features of the format! macro, except for the fill
+character.")
+    (license license:asl2.0)))
+
 (define-public rust-rustc-workspace-hack-1
   (package
     (name "rust-rustc-workspace-hack")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:06 GMT) Full text and rfc822 format available.

Message #134 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 07/10] gnu: Add rust-clap-lex-0.2.
Date: Wed, 26 Oct 2022 10:59:05 +0200
* gnu/packages/crates-io.scm (rust-clap-lex-0.2): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 064f6d39cf..8a41ddf9e2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68472,6 +68472,28 @@ (define-public rust-clap-conf-0.1
       "This package provides a library to unify commandline arguments with config files and environment variables.  And make it easier for users to tell your program how to behave across the three main input sources")
     (license license:expat)))
 
+(define-public rust-clap-lex-0.2
+  (package
+    (name "rust-clap-lex")
+    (version "0.2.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "clap_lex" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ib1a9v55ybnaws11l63az0jgz5xiy24jkdgsmyl7grcm3sz4l18"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-os-str-bytes" ,rust-os-str-bytes-6))))
+    (home-page "https://github.com/clap-rs/clap/tree/master/clap_lex")
+    (synopsis "Command-line parser for Rust")
+    (description "This package provides a command-line parser for Rust.  As
+opposed to a declarative parser, @code{rust-clap-lex} processes arguments as a
+stream of tokens.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public svd2rust
   (package
     (name "svd2rust")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:06 GMT) Full text and rfc822 format available.

Message #137 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 08/10] gnu: rust-clap-derive-3: Update to 3.1.18.
Date: Wed, 26 Oct 2022 10:59:06 +0200
* gnu/packages/crates-io.scm (rust-clap-derive-3): Update to 3.1.18.
---
 gnu/packages/crates-io.scm | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8a41ddf9e2..80576f3533 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10458,23 +10458,20 @@ (define-public rust-clang-sys-0.11
 (define-public rust-clap-derive-3
   (package
     (name "rust-clap-derive")
-    (version "3.0.0-beta.2")
+    (version "3.1.18")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "clap_derive" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "18cn82jhcha7m0nkpi1a03jx8k7aaq5kxfcxnsqpaa8ih5dp23rp"))))
+        (base32 "0g53w6qkqcc122bqh51jzfg51147il643idvq1czxkr2x5306ci5"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
-       (("rust-heck" ,rust-heck-0.3)
-        ("rust-proc-macro-error"
-         ,rust-proc-macro-error-1)
+       (("rust-heck" ,rust-heck-0.4)
+        ("rust-proc-macro-error" ,rust-proc-macro-error-1)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:06 GMT) Full text and rfc822 format available.

Message #140 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 10/10] gnu: Add swayr.
Date: Wed, 26 Oct 2022 10:59:08 +0200
* gnu/packages/rust-apps.scm (swayr): New variable.
---
 gnu/packages/rust-apps.scm | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 693489264d..66b89a6b2a 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -1900,6 +1900,43 @@ (define-public swayhide
 terminal won't have to take up any space.")
     (license license:gpl3+)))
 
+(define-public swayr
+  (package
+   (name "swayr")
+   (version "0.18.0")
+   (source
+    (origin
+     (method url-fetch)
+     (uri (crate-uri "swayr" version))
+     (file-name (string-append name "-" version ".tar.gz"))
+     (sha256
+      (base32 "1m443lwbs3lm20kkviw60db56w9i59dm393z1sn6llpfi2xihh3h"))))
+   (build-system cargo-build-system)
+   (arguments
+    `(#:tests? #f
+      #:cargo-inputs
+      (("rust-clap" ,rust-clap-3)
+       ("rust-directories" ,rust-directories-4)
+       ("rust-env-logger" ,rust-env-logger-0.9)
+       ("rust-log" ,rust-log-0.4)
+       ("rust-once-cell" ,rust-once-cell-1)
+       ("rust-rand" ,rust-rand-0.8)
+       ("rust-regex" ,rust-regex-1)
+       ("rust-rt-format" ,rust-rt-format-0.3)
+       ("rust-serde" ,rust-serde-1)
+       ("rust-serde-json" ,rust-serde-json-1)
+       ("rust-swayipc" ,rust-swayipc-3)
+       ("rust-toml" ,rust-toml-0.5))))
+   (home-page "https://sr.ht/~tsdh/swayr/")
+   (synopsis "Window-switcher for the sway window manager")
+   (description
+    "This package provides a last-recently-used window-switcher for the sway
+window manager. Swayr consists of a daemon, and a client. The swayrd daemon
+records window/workspace creations, deletions, and focus changes using sway's
+JSON IPC interface. The swayr client offers subcommands, and sends them to the
+daemon which executes them.")
+   (license license:gpl3+)))
+
 (define-public tealdeer
   (package
     (name "tealdeer")
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:00:07 GMT) Full text and rfc822 format available.

Message #143 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: ngraves <at> ngraves.fr
Subject: [PATCH v2 09/10] gnu: rust-clap-3: Update to 3.1.18.
Date: Wed, 26 Oct 2022 10:59:07 +0200
* gnu/packages/crates-io.scm (rust-clap-3): Update to 3.1.18.
---
 gnu/packages/crates-io.scm | 29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 80576f3533..cb4afafcb6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10486,36 +10486,43 @@ (define-public rust-clap-derive-3
 (define-public rust-clap-3
   (package
     (name "rust-clap")
-    (version "3.0.0-beta.2")
+    (version "3.1.18")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "clap" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
+       (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32
-         "0hm1kivw6190rxbfqhdr4hqwlrijvwh90i3d9dyyw0d5k0chdlab"))))
+        (base32 "02s4hk9hrmm2s1j7dkbwpyd75mfzx3p8ks2chmp4ccybv95xznyj"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
+     `(#:skip-build? #t
+       #:cargo-inputs
        (("rust-atty" ,rust-atty-0.2)
+        ("rust-backtrace" ,rust-backtrace-0.3)
         ("rust-bitflags" ,rust-bitflags-1)
         ("rust-clap-derive" ,rust-clap-derive-3)
+        ("rust-clap-lex" ,rust-clap-lex-0.2)
         ("rust-indexmap" ,rust-indexmap-1)
-        ("rust-os-str-bytes" ,rust-os-str-bytes-2)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-regex" ,rust-regex-1)
         ("rust-strsim" ,rust-strsim-0.10)
         ("rust-termcolor" ,rust-termcolor-1)
         ("rust-terminal-size" ,rust-terminal-size-0.1)
-        ("rust-textwrap" ,rust-textwrap-0.12)
-        ("rust-unicode-width" ,rust-unicode-width-0.1)
-        ("rust-vec-map" ,rust-vec-map-0.8)
+        ("rust-textwrap" ,rust-textwrap-0.15)
+        ("rust-unicase" ,rust-unicase-2)
         ("rust-yaml-rust" ,rust-yaml-rust-0.4))
        #:cargo-development-inputs
        (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-humantime" ,rust-humantime-2)
         ("rust-lazy-static" ,rust-lazy-static-1)
         ("rust-regex" ,rust-regex-1)
-        ("rust-version-sync" ,rust-version-sync-0.8))))
+        ("rust-rustversion" ,rust-rustversion-1)
+        ("rust-shlex" ,rust-shlex-1)
+        ("rust-snapbox" ,rust-snapbox-0.4)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ;; ("rust-trycmd" ,rust-trycmd-0.13)
+       )))
     (home-page "https://clap.rs/")
     (synopsis "Command Line Argument Parser")
     (description
-- 
2.38.0





Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Wed, 26 Oct 2022 09:06:02 GMT) Full text and rfc822 format available.

Message #146 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56752 <at> debbugs.gnu.org
Cc: maxime.devos <at> telenet.be, efraim <at> flashner.co.il
Subject: Re: [PATCH 01/10] gnu: rust-thiserror-impl-1: Update to 1.0.37.
Date: Wed, 26 Oct 2022 11:05:00 +0200
Hi!

I sent a patch series of an earlier version of swayr, with a minimal set
of patches. It should be easier to review.

Hopefully we can have the package in guix soon ;)

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Thu, 27 Oct 2022 05:55:01 GMT) Full text and rfc822 format available.

Message #149 received at submit <at> debbugs.gnu.org (full text, mbox):

From: kiasoc5 <kiasoc5 <at> disroot.org>
To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>
Cc: maximedevos <at> telenet.be, Nicolas Graves <ngraves <at> ngraves.fr>,
 56752 <at> debbugs.gnu.org, avityazev <at> posteo.org
Subject: Re: [bug#56752] swayr
Date: Thu, 27 Oct 2022 05:54:05 +0000
On Tue, Oct 25 2022, 09:35:16 AM +0200
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> wrote:

> I can try and update my 0.18 version to 0.20 and get this version to
> work properly in my guix checkout, if that might help.
> 

Not a reviewer but aiming for 0.20 should be fine as a user. Latest
swayr is version 0.22 but compared to 0.20 it only has minor fixes and
crate version bumps.

-- 




Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Thu, 27 Oct 2022 05:55:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Mon, 28 Nov 2022 08:55:01 GMT) Full text and rfc822 format available.

Message #155 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 56752 <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be, avityazev <at> posteo.org
Subject: Re: [bug#56752] swayr
Date: Mon, 28 Nov 2022 12:53:56 +0400
[Message part 1 (text/plain, inline)]
On 2022-10-25 09:35, Nicolas Graves via Guix-patches via wrote:

> Hi!
>
> I will also like to see swayr packaged for guix, and am willing to help.
> I did have a working 0.18 version in my dotfiles with almost all
> development dependencies also included, but I see this 0.20 attempt.
>
> What would be the best process to eventually package this one? Is there
> a reason this thread has not been merged?
>
> I can try and update my 0.18 version to 0.20 and get this version to work
> properly in my guix checkout, if that might help.

Applied, slightly adjusted and pushed swayr 0.18 and it's dependencies,
thank you for the patches.

If someone willing to update swayr to a newer version please send a
patch series to a separate thread, please.

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 56752 <at> debbugs.gnu.org and Aleksandr Vityazev <avityazev <at> posteo.org> Request was from Andrew Tropin <andrew <at> trop.in> to control <at> debbugs.gnu.org. (Mon, 28 Nov 2022 08:56:02 GMT) Full text and rfc822 format available.

Information forwarded to guix-patches <at> gnu.org:
bug#56752; Package guix-patches. (Mon, 28 Nov 2022 10:09:02 GMT) Full text and rfc822 format available.

Message #160 received at 56752 <at> debbugs.gnu.org (full text, mbox):

From: Andrew Tropin <andrew <at> trop.in>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 56752 <at> debbugs.gnu.org
Cc: maximedevos <at> telenet.be, Nicolas Goaziou <mail <at> nicolasgoaziou.fr>,
 avityazev <at> posteo.org
Subject: Re: [bug#56752] swayr
Date: Mon, 28 Nov 2022 14:08:21 +0400
[Message part 1 (text/plain, inline)]
On 2022-11-28 12:53, Andrew Tropin wrote:

> On 2022-10-25 09:35, Nicolas Graves via Guix-patches via wrote:
>
>> Hi!
>>
>> I will also like to see swayr packaged for guix, and am willing to help.
>> I did have a working 0.18 version in my dotfiles with almost all
>> development dependencies also included, but I see this 0.20 attempt.
>>
>> What would be the best process to eventually package this one? Is there
>> a reason this thread has not been merged?
>>
>> I can try and update my 0.18 version to 0.20 and get this version to work
>> properly in my guix checkout, if that might help.
>
> Applied, slightly adjusted and pushed swayr 0.18 and it's dependencies,
> thank you for the patches.
>
> If someone willing to update swayr to a newer version please send a
> patch series to a separate thread, please.

Oops, by mistake I changed the authorship of 6 last commits to Nicolas
Goaziou instead of Nicolas Graves, reverted them and re-applied with
correct authorship.

-- 
Best regards,
Andrew Tropin
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Dec 2022 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.