all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#59893] Add Starship prompt
@ 2022-12-08  0:31 phodina via Guix-patches via
  0 siblings, 0 replies; only message in thread
From: phodina via Guix-patches via @ 2022-12-08  0:31 UTC (permalink / raw)
  To: 59893


[-- Attachment #1.1: Type: text/plain, Size: 99 bytes --]

Hi,

this patchset adds Starship prompt written in Rust compatible with multiple shells.

----
Petr

[-- Attachment #1.2: Type: text/html, Size: 195 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-rust-uom-0.30.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-rust-uom-0.30.patch, Size: 1738 bytes --]

From 1a46cc2bb45726c16bc067d8195b8789b51a51da Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:06:10 +0100
Subject: [PATCH 01/31] gnu: Add rust-uom-0.30.

* gnu/packages/crates.io (rust-uom-0.30): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 487befa965..67d1b3b444 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64519,6 +64519,33 @@ (define-public rust-unwrap-1
 comparable to calling @code{unwrap_err()}.")
     (license (list license:expat license:bsd-3))))
 
+(define-public rust-uom-0.30
+  (package
+    (name "rust-uom")
+    (version "0.30.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "uom" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1vg59hnb7hh0p8kjjhgmrsnn3597722lkfdkp481wksq6vk06rg7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-num-bigint" ,rust-num-bigint-0.3)
+                       ("rust-num-rational" ,rust-num-rational-0.3)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-typenum" ,rust-typenum-1))))
+    (home-page "https://github.com/iliekturtles/uom")
+    (synopsis "Units of measurement")
+    (description
+     "This package provides units of measurement based on the International
+System of Quantities.")
+    ;; Licensed under one of these
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-ureq-2
   (package
     (name "rust-ureq")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0004-gnu-Add-rust-downcast-0.10.patch --]
[-- Type: text/x-patch; name=0004-gnu-Add-rust-downcast-0.10.patch, Size: 1414 bytes --]

From d29bb65b49dc8d4d311f1c0add438d6be6beca97 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:10:55 +0100
Subject: [PATCH 04/31] gnu: Add rust-downcast-0.10.

* gnu/packages/crates-io.scm (rust-downcast-0.10): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 877a298e02..4d13cadd0a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17764,6 +17764,27 @@ (define-public rust-downcast-rs-1
 parameters, associated types, and type constraints.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-downcast-0.10
+  (package
+    (name "rust-downcast")
+    (version "0.10.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "downcast" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "07bh0l95gwrzak6rj29v8kkm577d8vivxsxhqgscf64b4bq59d2b"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/fkoep/downcast-rs")
+    (synopsis "Downcasting trait")
+    (description
+     "This package provides trait for downcasting trait objects back to their
+original types.")
+    (license license:expat)))
+
 (define-public rust-dogged-0.2
   (package
     (name "rust-dogged")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0020-gnu-rust-doc-comment-0.3-Update-to-0.3.3.patch --]
[-- Type: text/x-patch; name=0020-gnu-rust-doc-comment-0.3-Update-to-0.3.3.patch, Size: 1154 bytes --]

From 00d75f6913368e6e04db08b4ce15a4e0f7833c61 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 7 Dec 2022 17:05:21 +0100
Subject: [PATCH 20/31] gnu: rust-doc-comment-0.3: Update to 0.3.3.

* gnu/packages/crates-io.scm (rust-doc-comment-0.3): Update to 0.3.3.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9d5683d2e3..dce1dd253e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17601,7 +17601,7 @@ (define-public rust-dns-parser-0.8
 (define-public rust-doc-comment-0.3
   (package
     (name "rust-doc-comment")
-    (version "0.3.1")
+    (version "0.3.3")
     (source
       (origin
         (method url-fetch)
@@ -17609,7 +17609,7 @@ (define-public rust-doc-comment-0.3
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "15rsqxgarfpb1yim9sbp9yfgj7p2dq6v51c6bq1a62paii9ylgcj"))))
+          "043sprsf3wl926zmck1bm7gw0jq50mb76lkpk49vasfr6ax1p97y"))))
     (build-system cargo-build-system)
     (arguments '(#:skip-build? #t))
     (home-page "https://github.com/GuillaumeGomez/doc-comment")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #5: 0021-gnu-rust-proc-macro-crate-1-Update-to-1.2.1.patch --]
[-- Type: text/x-patch; name=0021-gnu-rust-proc-macro-crate-1-Update-to-1.2.1.patch, Size: 1352 bytes --]

From 5c020a7accd58a2d774ec07d6bf11a71cefeea30 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 7 Dec 2022 17:12:27 +0100
Subject: [PATCH 21/31] gnu: rust-proc-macro-crate-1: Update to 1.2.1.

* gnu/packages/crates-io.scm (rust-proc-macro-crate-1): Update to 1.2.1

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dce1dd253e..180c1576bf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42585,18 +42585,19 @@ (define-public rust-print-bytes-0.4
 (define-public rust-proc-macro-crate-1
   (package
     (name "rust-proc-macro-crate")
-    (version "1.0.0")
+    (version "1.2.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "proc-macro-crate" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "14pzgkpnlzq6y7yc749h2lwd1mv44min4iszjk2znmi1yqfvvza1"))))
+        (base32 "1sclzva81n2lpjyfpdpdcd03f5ys9684vqap2xipbjdp1wxzr87d"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-thiserror" ,rust-thiserror-1)
+       (("rust-once-cell" ,rust-once-cell-1)
+        ("rust-thiserror" ,rust-thiserror-1)
         ("rust-toml" ,rust-toml-0.5))
        #:cargo-development-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #6: 0017-gnu-Add-rust-enumflags2-0.6.patch --]
[-- Type: text/x-patch; name=0017-gnu-Add-rust-enumflags2-0.6.patch, Size: 1524 bytes --]

From 8d5e2706648e79fef46c1d94a975ef64684ecba3 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:29:41 +0100
Subject: [PATCH 17/31] gnu: Add rust-enumflags2-0.6.

* gnu/packages/crates-io.scm (rust-enumflags2-0.6): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 73406b9869..bafdd3301c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19082,6 +19082,27 @@ (define-public rust-enumflags2-derive-0.6
     ;; Dual licensed
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-enumflags2-0.6
+  (package
+    (name "rust-enumflags2")
+    (version "0.6.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "enumflags2" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "182xd6cxxmadx1axnz6x73d12pzgwkc712zq2lxd4z1k48lxij43"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-enumflags2-derive" ,rust-enumflags2-derive-0.6)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/NieDzejkob/enumflags2")
+    (synopsis "Enum-based bit flags")
+    (description "This package provides enum-based bit flags.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-enum-map-derive-0.4
   (package
     (name "rust-enum-map-derive")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #7: 0002-gnu-Add-rust-battery-0.7.patch --]
[-- Type: text/x-patch; name=0002-gnu-Add-rust-battery-0.7.patch, Size: 2185 bytes --]

From 9586f6c5942b97b6b67ea304bebcb8f7d6243575 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:07:28 +0100
Subject: [PATCH 02/31] gnu: Add rust-battery-0.7.

* gnu/packages/crates-io.scm (rust-battery-0.7): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 67d1b3b444..d94b772eae 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5856,6 +5856,40 @@ (define-public rust-bat-0.18
 paging.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-battery-0.7
+  (package
+    (name "rust-battery")
+    (version "0.7.8")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "battery" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1r1641dyks76p39i1iihswhc6iz5z51pihmpxniy1h1pi4k29dml"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f ;Doc tests require HW
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-core-foundation" ,rust-core-foundation-0.7)
+                       ("rust-lazycell" ,rust-lazycell-1)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-mach" ,rust-mach-0.3)
+                       ("rust-nix" ,rust-nix-0.19)
+                       ("rust-num-traits" ,rust-num-traits-0.2)
+                       ("rust-uom" ,rust-uom-0.30)
+                       ("rust-winapi" ,rust-winapi-0.3))
+       #:cargo-development-inputs (("rust-approx" ,rust-approx-0.3)
+                                   ("rust-tempfile" ,rust-tempfile-3))))
+    (home-page "https://github.com/svartalf/rust-battery")
+    (synopsis "Information about the notebook batteries")
+    (description
+     "This package get the information about the notebook batteries - state
+of charge, energy rate, voltage and temperature.")
+    ;; Dual-licensed
+    (license (list license:asl2.0 license:expat))))
+
 (define-public rust-beef-0.5
   (package
     (name "rust-beef")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #8: 0030-gnu-rust-byte-unit-4-Update-to-4.0.12.patch --]
[-- Type: text/x-patch; name=0030-gnu-rust-byte-unit-4-Update-to-4.0.12.patch, Size: 1623 bytes --]

From 5b21379f74e2536bf59002edd476f3b0053a155d Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 14:18:47 +0100
Subject: [PATCH 30/31] gnu: rust-byte-unit-4: Update to 4.0.12.

* gnu/packages/crates-io.scm (rust-byte-unit-4): Update to 4.0.12.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4fdcdd880e..f10b4a6c1b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -8414,19 +8414,18 @@ (define-public rust-byte-tools-0.2
 (define-public rust-byte-unit-4
   (package
     (name "rust-byte-unit")
-    (version "4.0.9")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "byte-unit" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw"))))
+    (version "4.0.12")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "byte-unit" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1n5w327g55ly5r4yjh71rhv2ifw615xdxv8d2rj5nxsbxgk9fc86"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-serde" ,rust-serde-1)
-        ("rust-utf8-width" ,rust-utf8-width-0.1))))
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+                       ("rust-utf8-width" ,rust-utf8-width-0.1))))
     (home-page "https://magiclen.org/byte-unit")
     (synopsis "Library for interaction with units of bytes")
     (description
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #9: 0003-gnu-Add-rust-mockall-derive-0.10.patch --]
[-- Type: text/x-patch; name=0003-gnu-Add-rust-mockall-derive-0.10.patch, Size: 1648 bytes --]

From 614bf5cd93e2c2f46e1c95084224d780ac1910af Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:08:33 +0100
Subject: [PATCH 03/31] gnu: Add rust-mockall-derive-0.10.

* gnu/packages/crates-io.scm (rust-mockall-derive-0.10): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d94b772eae..877a298e02 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33627,6 +33627,30 @@ (define-public rust-miow-0.2
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-mockall-derive-0.10
+  (package
+    (name "rust-mockall-derive")
+    (version "0.10.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "mockall_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0cwhcfsc16b8p4yrsrxnhfxfdn0n89cmjja13wb6kxik8hhmpqp7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/asomers/mockall")
+    (synopsis "Procedural macros for Mockall")
+    (description "This package provides procedural macros for Mockall crate.")
+    ;; Dual licensed
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-model-0.1
   (package
     (name "rust-model")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #10: 0008-gnu-rust-urlencoding-1-Update-to-1.3.3.patch --]
[-- Type: text/x-patch; name=0008-gnu-rust-urlencoding-1-Update-to-1.3.3.patch, Size: 1453 bytes --]

From 6387f6a33bfba61fa51bcb16199abf4a400cdac5 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:14:08 +0100
Subject: [PATCH 08/31] gnu: rust-urlencoding-1: Update to 1.3.3.

* gnu/packages/crates-io.scm (rust-urlencoding-1): Update to 1.3.3.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 217142099e..2fe3226780 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -64783,16 +64783,17 @@ (define-public rust-url-1
 (define-public rust-urlencoding-1
   (package
     (name "rust-urlencoding")
-    (version "1.1.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "urlencoding" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "14sm5c8idb5jzib8dwf85p5yhd65vxjh946p80p49d2j6fsjw8y9"))))
+    (version "1.3.3")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "urlencoding" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1yqgq2qigm1s8zyv23j0422j4vn20ppnnizx9b7p629sw1sh27ss"))))
     (build-system cargo-build-system)
-    (arguments `(#:skip-build? #t))
+    (arguments
+     `(#:skip-build? #t))
     (home-page "https://lib.rs/urlencoding")
     (synopsis "Rust library for doing URL percentage encoding")
     (description
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #11: 0010-gnu-Add-rust-process-control-3.patch --]
[-- Type: text/x-patch; name=0010-gnu-Add-rust-process-control-3.patch, Size: 1726 bytes --]

From 305b47b057b32e19ca141dead273795e7659ac43 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:20:55 +0100
Subject: [PATCH 10/31] gnu: Add rust-process-control-3.

* gnu/packages/crates-io.scm (rust-process-control-3): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 208c0bec88..72bba09224 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42787,6 +42787,30 @@ (define-public rust-procedural-masquerade-0.1
 @code{proc_macro_derive} pretend to be @code{proc_macro}.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-process-control-3
+  (package
+    (name "rust-process-control")
+    (version "3.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "process_control" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1v5j6ajr3fprpay8754874rmi622a1vk5rld88p1jk04wha413pm"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-crossbeam-channel" ,rust-crossbeam-channel-0.5)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/dylni/process_control")
+    (synopsis "Methods for ergonomically running processes with timeouts")
+    (description "This package provides methods for ergonomically running
+processes with timeouts.")
+    ;; Dual licensed
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-progress-0.2
   (package
     (name "rust-progress")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #12: 0024-gnu-Add-rust-ntest-timeout-0.7.patch --]
[-- Type: text/x-patch; name=0024-gnu-Add-rust-ntest-timeout-0.7.patch, Size: 2621 bytes --]

From 0255e907b9d5d7b2300071c85c233392f23147a4 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Thu, 8 Dec 2022 00:13:30 +0100
Subject: [PATCH 24/31] gnu: Add rust-ntest-timeout-0.7.

* gnu/packages/crates.io (rust-ntest-timeout-0.7): New variable.
(rust-ntest-timout-0.3): Inherit from above.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 208a4eb1a4..204d30e79f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36343,8 +36343,34 @@ (define-public rust-ntest-test-cases-0.3
         (base32
          "0b67m368599b2zgwx19psqz6n3m9m5532h1257x6vz1pym3gd2na"))))))
 
+(define-public rust-ntest-timeout-0.7
+  (package
+    (name "rust-ntest-timeout")
+    (version "0.7.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ntest_timeout" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "08v3r6hggh43qabl887pkz88k6lg6hrc62mppxyabb0pw44v03di"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-ntest-proc-macro-helper" ,rust-ntest-proc-macro-helper-0.7)
+                       ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/becheran/ntest")
+    (synopsis "Timeout attribute for the ntest framework")
+    (description "This package provides a timeout attribute for the ntest
+framework.")
+    (license license:expat)))
+
 (define-public rust-ntest-timeout-0.3
   (package
+    (inherit rust-ntest-timeout-0.7)
     (name "rust-ntest-timeout")
     (version "0.3.3")
     (source
@@ -36355,18 +36381,12 @@ (define-public rust-ntest-timeout-0.3
        (sha256
         (base32
          "0klryn3rgjxnq3cv6j8bwcsr0b7zw3x216h63144v22aja18p0g0"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1)
-        ("rust-timebomb" ,rust-timebomb-0.1))))
-    (home-page "https://github.com/becheran/ntest")
-    (synopsis "Timeout attribute for the ntest framework")
-    (description "This package provides a timeout attribute for the ntest
-framework.")
-    (license license:expat)))
+        ("rust-timebomb" ,rust-timebomb-0.1))))))
 
 (define-public rust-num-0.4
   (package
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #13: 0019-gnu-Add-rust-serde-xml-rs-0.4.patch --]
[-- Type: text/x-patch; name=0019-gnu-Add-rust-serde-xml-rs-0.4.patch, Size: 1570 bytes --]

From 9629ae746ca74a58807bcacca13b4fefb1e8e3c2 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:27:49 +0100
Subject: [PATCH 19/31] gnu: Add rust-serde-xml-rs-0.4.

* gnu/packages/crates-io.scm (rust-serde-xml-rs-0.4): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 41896e03b2..9d5683d2e3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52010,6 +52010,29 @@ (define-public rust-serde-value-0.7
 for later processing.")
     (license license:expat)))
 
+(define-public rust-serde-xml-rs-0.4
+  (package
+    (name "rust-serde-xml-rs")
+    (version "0.4.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "serde-xml-rs" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ykx1xkfd59gf0ijnp93xhpd457xy4zi8xv2hrr0ikvcd6h1pgzh"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-xml-rs" ,rust-xml-rs-0.8))))
+    (home-page "https://github.com/RReverser/serde-xml-rs")
+    (synopsis "XML support for Serde")
+    (description "This package provides XML support for Serde.")
+    (license license:expat)))
+
 (define-public rust-serde-yaml-0.8
   (package
     (name "rust-serde-yaml")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #14: 0009-gnu-Add-rust-starship-module-config-derive-0.2.patch --]
[-- Type: text/x-patch; name=0009-gnu-Add-rust-starship-module-config-derive-0.2.patch, Size: 1763 bytes --]

From 168f83c20aa9ebaba2a38c6aa8f3786eb07c4f50 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:15:40 +0100
Subject: [PATCH 09/31] gnu: Add rust-starship-module-config-derive-0.2.

* gnu/packages/crates-io.scm (rust-starship-module-config-derive-0.2): New
variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2fe3226780..208c0bec88 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -55060,6 +55060,32 @@ (define-public rust-standback-0.2
     (description "New standard library, old compiler.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-starship-module-config-derive-0.2
+  (package
+    (name "rust-starship-module-config-derive")
+    (version "0.2.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "starship_module_config_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "09327jvaf2b4xwg0s8l3afrrg140illa0ff6wkwfi4i8pl7dpacp"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://starship.rs")
+    (synopsis
+     "The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
+")
+    (description
+     "The minimal, blazing-fast, and infinitely customizable prompt for any shell! ☄🌌️
+")
+    (license license:isc)))
+
 (define-public rust-state-0.4
   (package
     (name "rust-state")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #15: 0023-gnu-Add-rust-ntest-proc-macro-helper-0.7.patch --]
[-- Type: text/x-patch; name=0023-gnu-Add-rust-ntest-proc-macro-helper-0.7.patch, Size: 1512 bytes --]

From b156cefd8293546d45f5f5f3f0f57c2ad5c4e824 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 7 Dec 2022 17:24:42 +0100
Subject: [PATCH 23/31] gnu: Add rust-ntest-proc-macro-helper-0.7.

* gnu/packages/crates-io.scm (rust-ntest-proc-macro-helper-0.7): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index df006b0014..208a4eb1a4 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36286,6 +36286,27 @@ (define-public rust-ntest-0.3
 enhances the built-in library with some useful features.")
     (license license:expat)))
 
+(define-public rust-ntest-proc-macro-helper-0.7
+  (package
+    (name "rust-ntest-proc-macro-helper")
+    (version "0.7.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ntest_proc_macro_helper" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0lkyfx97aynbm7cnhzyc9cr0rpq1xzng1hwmzizbf1a6855y6llg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/becheran/ntest")
+    (synopsis
+     "Provide helper functions for the procedural macros used in ntest.")
+    (description
+     "Provide helper functions for the procedural macros used in ntest.")
+    (license license:expat)))
+
 (define-public rust-ntest-test-cases-0.7
   (package
     (name "rust-ntest-test-cases")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #16: 0007-gnu-Add-rust-versions-3.patch --]
[-- Type: text/x-patch; name=0007-gnu-Add-rust-versions-3.patch, Size: 1610 bytes --]

From b1e8a6a41a1c8f3ad9c90031b89c4ddbe60c6ea0 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:13:09 +0100
Subject: [PATCH 07/31] gnu: Add rust-versions-3.

* gnu/packages/crates-io.scm (rust-versions-3): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9dfccb7a08..217142099e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65337,6 +65337,30 @@ (define-public rust-vergen-3
      "Generate version related functions.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-versions-3
+  (package
+    (name "rust-versions")
+    (version "3.0.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "versions" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ffjw6mbsm3nrgg03b76jfc41lg44yz1pyqmv6zj37q88i6y4wri"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-itertools" ,rust-itertools-0.10)
+                       ("rust-nom" ,rust-nom-6)
+                       ("rust-serde" ,rust-serde-1))))
+    (home-page "https://github.com/fosskers/rs-versions")
+    (synopsis "Library for parsing and comparing software version numbers")
+    (description
+     "This package provides a library for parsing and comparing software version
+numbers.")
+    (license license:expat)))
+
 (define-public rust-version-check-0.9
   (package
     (name "rust-version-check")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #17: 0015-gnu-Add-rust-zvariant-2.patch --]
[-- Type: text/x-patch; name=0015-gnu-Add-rust-zvariant-2.patch, Size: 1768 bytes --]

From 4355f7409280a14fbf7299fb0e4ac78c04d34476 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:25:33 +0100
Subject: [PATCH 15/31] gnu: Add rust-zvariant-2.

* gnu/packages/crates-io.scm (rust-zvariant-2): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2f6262258e..5630e09ade 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68540,6 +68540,39 @@ (define-public rust-zvariant-derive-2
     (description "This package provides D-Bus & GVariant encoding & decoding.")
     (license license:expat)))
 
+(define-public rust-zvariant-2
+  (package
+    (name "rust-zvariant")
+    (version "2.7.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zvariant" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "08j741ipsnwkxbk3knj03acm0z8lh6rx7pfs7xr0117aq30hz6ps"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-arrayvec" ,rust-arrayvec-0.5)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-enumflags2" ,rust-enumflags2-0.6)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+        ("rust-static-assertions"
+         ,rust-static-assertions-1)
+        ("rust-zvariant-derive" ,rust-zvariant-derive-2))))
+    (home-page
+     "https://gitlab.freedesktop.org/dbus/zbus/")
+    (synopsis "D-Bus & GVariant encoding & decoding")
+    (description
+     "D-Bus & GVariant encoding & decoding")
+    (license license:expat)))
+
 (define-public rust-packed-struct
   (package
     (name "rust-packed-struct")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #18: 0006-gnu-Add-rust-mockall-double-0.2.patch --]
[-- Type: text/x-patch; name=0006-gnu-Add-rust-mockall-double-0.2.patch, Size: 1622 bytes --]

From ce481e1d32d2c4de6e91b928058455a6653da09d Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 23:19:39 +0100
Subject: [PATCH 06/31] gnu: Add rust-mockall-double-0.2.

* gnu/packages/crates-io.scm (rust-mockall-double-0.2): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 85c41ba72d..9dfccb7a08 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33700,6 +33700,29 @@ (define-public rust-mockall-derive-0.10
     ;; Dual licensed
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-mockall-double-0.2
+  (package
+    (name "rust-mockall-double")
+    (version "0.2.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "mockall_double" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ib7ahq98ah13i69ypx6wrkc3ksmjw3jkmh0s2qi7dxj6j6vf99y"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/asomers/mockall")
+    (synopsis "Test double adapter for Mockall")
+    (description "This package provides test double adapter for Mockall.")
+	;; Dual licensed
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-model-0.1
   (package
     (name "rust-model")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #19: 0027-gnu-Add-rust-wildmatch-1.patch --]
[-- Type: text/x-patch; name=0027-gnu-Add-rust-wildmatch-1.patch, Size: 1437 bytes --]

From 366e6070123e5920cf45c6333652bde2676d90de Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:34:20 +0100
Subject: [PATCH 27/31] gnu: Add rust-wildmatch-1.

* gnu/packages/crates-io.scm (rust-wildmatch-1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0d140b2900..21d6786b82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -67273,6 +67273,28 @@ (define-public rust-wild-2
 command-line, uniformly on all platforms")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-wildmatch-1
+  (package
+    (name "rust-wildmatch")
+    (version "1.1.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "wildmatch" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "02i7qwjy1rkhzp80v9i9khzf09rhr4d534wcap7i6hfkc9gvji3z"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/becheran/wildmatch")
+    (synopsis
+     "String matching with questionmark and star wildcard operator")
+    (description
+     "This package provides string matching with questionmark and
+star wildcard operator.")
+    (license license:expat)))
+
 (define-public rust-winapi-0.3
   (package
     (name "rust-winapi")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #20: 0005-gnu-Add-rust-mockall-0.10.patch --]
[-- Type: text/x-patch; name=0005-gnu-Add-rust-mockall-0.10.patch, Size: 1935 bytes --]

From ee7089162e18479a48400449959ce4014e1bcc0e Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:11:44 +0100
Subject: [PATCH 05/31] gnu: Add rust-mockall-0.10.

* gnu/packages/crates.io (rust-mockall-0.10): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4d13cadd0a..85c41ba72d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33648,6 +33648,34 @@ (define-public rust-miow-0.2
        #:cargo-development-inputs
        (("rust-rand" ,rust-rand-0.3))))))
 
+(define-public rust-mockall-0.10
+  (package
+    (name "rust-mockall")
+    (version "0.10.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "mockall" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1h4s2bpkkm0zyd6mnc3718p0ysmcxyiwrjlk4hrawy7si8r73dba"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+                       ("rust-downcast" ,rust-downcast-0.10)
+                       ("rust-fragile" ,rust-fragile-1)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-mockall-derive" ,rust-mockall-derive-0.10)
+                       ("rust-predicates" ,rust-predicates-1)
+                       ("rust-predicates-tree" ,rust-predicates-tree-1))
+       #:cargo-development-inputs (("rust-mockall-double" ,rust-mockall-double-0.2))))
+    (home-page "https://github.com/asomers/mockall")
+    (synopsis "Mock object library for Rust")
+    (description "This package provides a mock object library for Rust.")
+    ;; Dual-licensed
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-mockall-derive-0.10
   (package
     (name "rust-mockall-derive")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #21: 0018-gnu-Add-rust-zbus-macros-1.patch --]
[-- Type: text/x-patch; name=0018-gnu-Add-rust-zbus-macros-1.patch, Size: 1609 bytes --]

From c04fede3fa22f28e50a0c5f5c49df89bba6f59c9 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:26:27 +0100
Subject: [PATCH 18/31] gnu: Add rust-zbus-macros-1.

* gnu/packages/crates-io.scm (rust-zbus-macros-1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bafdd3301c..41896e03b2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68619,6 +68619,29 @@ (define-public rust-zvariant-2
      "D-Bus & GVariant encoding & decoding")
     (license license:expat)))
 
+(define-public rust-zbus-macros-1
+  (package
+    (name "rust-zbus-macros")
+    (version "1.9.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "zbus_macros" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "14sziniysx55501jq1fiimg93c3d8hydpdcjkfw831p455hcb0m4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-0.1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://gitlab.freedesktop.org/dbus/zbus/")
+    (synopsis "Procedural macros for zbus")
+    (description "This package provides procedural macros for zbus.")
+    (license license:expat)))
+
 (define-public rust-packed-struct
   (package
     (name "rust-packed-struct")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #22: 0026-gnu-Add-rust-zbus-1.patch --]
[-- Type: text/x-patch; name=0026-gnu-Add-rust-zbus-1.patch, Size: 2207 bytes --]

From 8ab34ad80201c87cdbb8a0b00f31ddbf01de364d Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:30:29 +0100
Subject: [PATCH 26/31] gnu: Add rust-zbus-1.

* gnu/packages/crates-io.scm (rust-zbus-1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e0453a2f4f..0d140b2900 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68739,6 +68739,49 @@ (define-public rust-zbus-macros-1
     (description "This package provides procedural macros for zbus.")
     (license license:expat)))
 
+(define-public rust-zbus-1
+  (package
+    (name "rust-zbus")
+    (version "1.9.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zbus" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "1bcx5vf75iscgfdn3pszkbr6n20pvddry24lnws4xb53g71sq9i3"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-async-io" ,rust-async-io-1)
+        ("rust-byteorder" ,rust-byteorder-1)
+        ("rust-derivative" ,rust-derivative-2)
+        ("rust-enumflags2" ,rust-enumflags2-0.6)
+        ("rust-fastrand" ,rust-fastrand-1)
+        ("rust-futures" ,rust-futures-0.3)
+        ("rust-nb-connect" ,rust-nb-connect-1)
+        ("rust-nix" ,rust-nix-0.17)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-polling" ,rust-polling-2)
+        ("rust-scoped-tls" ,rust-scoped-tls-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-xml-rs" ,rust-serde-xml-rs-0.4)
+        ("rust-serde-repr" ,rust-serde-repr-0.1)
+        ("rust-zbus-macros" ,rust-zbus-macros-1)
+        ("rust-zvariant" ,rust-zvariant-2))
+       #:cargo-development-inputs
+       (("rust-ntest" ,rust-ntest-0.7)
+       ("rust-doc-comment" ,rust-doc-comment-0.3))))
+    (home-page
+     "https://gitlab.freedesktop.org/dbus/zbus/")
+    (synopsis "API for D-Bus communication")
+    (description "API for D-Bus communication")
+    (license license:expat)))
+
 (define-public rust-packed-struct
   (package
     (name "rust-packed-struct")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #23: 0016-gnu-Add-rust-enumflags2-derive-0.6.patch --]
[-- Type: text/x-patch; name=0016-gnu-Add-rust-enumflags2-derive-0.6.patch, Size: 1666 bytes --]

From 8d49327a9571df312460f39785560d990cd1f00c Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:28:45 +0100
Subject: [PATCH 16/31] gnu: Add rust-enumflags2-derive-0.6.

* gnu/packages/crates-io.scm (rust-enumflags2-derive-0.6): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5630e09ade..73406b9869 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -19057,6 +19057,31 @@ (define-public rust-enum-as-inner-0.2
         ("rust-quote" ,rust-quote-0.6)
         ("rust-syn" ,rust-syn-0.15))))))
 
+(define-public rust-enumflags2-derive-0.6
+  (package
+    (name "rust-enumflags2-derive")
+    (version "0.6.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "enumflags2_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1kkcwi4n76bi1c16ms00dyk4d393gdf29kpr4k9zsn5z7m7fjvll"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://github.com/NieDzejkob/enumflags2")
+    (synopsis
+     "Macro definitions for enumflags2 crate")
+    (description
+     "This package provides macro definitions for enumflag2 crate.")
+    ;; Dual licensed
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-enum-map-derive-0.4
   (package
     (name "rust-enum-map-derive")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #24: 0013-gnu-Add-rust-os-info-3.patch --]
[-- Type: text/x-patch; name=0013-gnu-Add-rust-os-info-3.patch, Size: 1532 bytes --]

From 9081fc2605fbdf70ccc0d24da0509e6bdb1e5a56 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:23:26 +0100
Subject: [PATCH 13/31] gnu: Add rust-os-info-3.

* gnu/packages/crates.io (rust-os-info-3): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 92052b0a37..f61d705e82 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38077,6 +38077,29 @@ (define-public rust-ordermap-0.3
 under its new name.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-os-info-3
+  (package
+    (name "rust-os-info")
+    (version "3.0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "os_info" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1pbcf2in8i9w6zjzk6jmrd89gm5h7qpyqi3hvkl0axpzp1m57lmk"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-log" ,rust-log-0.4)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-winapi" ,rust-winapi-0.3))))
+    (home-page "https://github.com/stanislav-tkach/os_info")
+    (synopsis "Detect the operating system type and version")
+    (description "This package allows to detect the operating system type
+and version.")
+    (license license:expat)))
+
 (define-public rust-os-pipe-1
   (package
     (name "rust-os-pipe")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #25: 0025-gnu-Add-rust-ntest-0.7.patch --]
[-- Type: text/x-patch; name=0025-gnu-Add-rust-ntest-0.7.patch, Size: 2366 bytes --]

From bcf603062ecd49e9df8121b9a4108575f64b3441 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 7 Dec 2022 17:23:43 +0100
Subject: [PATCH 25/31] gnu: Add rust-ntest-0.7.

* gnu/packages/crates-io.scm (rust-ntest-0.7): New variable.
(rust-ntest-0.3): Inherit from above.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 204d30e79f..e0453a2f4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36258,8 +36258,31 @@ (define-public rust-ntapi-0.3
     (description "FFI bindings for Native API")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-ntest-0.7
+  (package
+    (name "rust-ntest")
+    (version "0.7.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ntest" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0kkk30ixlvfc97gpdjfv5584qmkhgx3mnphqf6rl2sxfckzxrg5k"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-ntest-proc-macro-helper" ,rust-ntest-proc-macro-helper-0.7)
+                       ("rust-ntest-test-cases" ,rust-ntest-test-cases-0.7)
+                       ("rust-ntest-timeout" ,rust-ntest-timeout-0.7))))
+    (home-page "https://github.com/becheran/ntest")
+    (synopsis "Testing framework for Rust")
+    (description "This package provides a testing framework for Rust which
+enhances the built-in library with some useful features.")
+    (license license:expat)))
+
 (define-public rust-ntest-0.3
   (package
+    (inherit rust-ntest-0.7)
     (name "rust-ntest")
     (version "0.3.3")
     (source
@@ -36279,12 +36302,8 @@ (define-public rust-ntest-0.3
        #:cargo-development-inputs
        (("rust-ntest-test-cases" ,rust-ntest-test-cases-0.3)
         ("rust-ntest-timeout" ,rust-ntest-timeout-0.3)
-        ("rust-timebomb" ,rust-timebomb-0.1))))
-    (home-page "https://github.com/becheran/ntest")
-    (synopsis "Testing framework for Rust")
-    (description "This package provides a testing framework for Rust which
-enhances the built-in library with some useful features.")
-    (license license:expat)))
+        ("rust-timebomb" ,rust-timebomb-0.1))))))
+
 
 (define-public rust-ntest-proc-macro-helper-0.7
   (package
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #26: 0014-gnu-Add-rust-zvariant-derive-2.patch --]
[-- Type: text/x-patch; name=0014-gnu-Add-rust-zvariant-derive-2.patch, Size: 1647 bytes --]

From fecb9a8f0115726be32cc15e5333fd502f0af474 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:24:44 +0100
Subject: [PATCH 14/31] gnu: Add rust-zvariant-derive-2.

* gnu/packages/crates-io.scm (rust-zvariant-derive-2): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f61d705e82..2f6262258e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68517,6 +68517,29 @@ (define-public rust-zstd-sys-1
 compression library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-zvariant-derive-2
+  (package
+    (name "rust-zvariant-derive")
+    (version "2.7.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "zvariant_derive" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1sbhic5pdv03qx6ci4zwpn1llk92pmwpr2l7c6ninbch7naxgwac"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+                       ("rust-proc-macro2" ,rust-proc-macro2-1)
+                       ("rust-quote" ,rust-quote-1)
+                       ("rust-syn" ,rust-syn-1))))
+    (home-page "https://gitlab.freedesktop.org/dbus/zbus/")
+    (synopsis "D-Bus & GVariant encoding & decoding")
+    (description "This package provides D-Bus & GVariant encoding & decoding.")
+    (license license:expat)))
+
 (define-public rust-packed-struct
   (package
     (name "rust-packed-struct")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #27: 0011-gnu-Add-rust-shadow-rs-0.6.patch --]
[-- Type: text/x-patch; name=0011-gnu-Add-rust-shadow-rs-0.6.patch, Size: 2537 bytes --]

From ab3df40af3d4fb06859ac6d73b0a7e0cccf4e2d8 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:21:18 +0100
Subject: [PATCH 11/31] gnu: Add rust-shadow-rs-0.6.

* gnu/packages/crates.io (rust-shadow-rs-0.6): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72bba09224..a133a57f06 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -52587,20 +52587,19 @@ (define-public rust-shadow-rs-0.8
   (package
     (name "rust-shadow-rs")
     (version "0.8.1")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "shadow-rs" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9"))))
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "shadow-rs" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0iy4f6yzag52qr93hjhm2l8crxhjblr91nffbdd8zzw0xchfjdc9"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-       #:cargo-inputs
-       (("rust-chrono" ,rust-chrono-0.4)
-        ("rust-git2" ,rust-git2-0.13)
-        ("rust-is-debug" ,rust-is-debug-1))))
+       #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-git2" ,rust-git2-0.13)
+                       ("rust-is-debug" ,rust-is-debug-1))))
     (home-page "https://github.com/baoyachi/shadow-rs")
     (synopsis "Recall properties of the build process at run time")
     (description
@@ -52609,6 +52608,28 @@ (define-public rust-shadow-rs-0.8
 exactly where a binary came from and how it was built.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-shadow-rs-0.6
+  (package
+    (inherit rust-shadow-rs-0.8)
+    (name "rust-shadow-rs")
+    (version "0.6.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "shadow-rs" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0sps996yhchz43zfk9zysjpirz638s1hbhspp998bk6v9l6k7j10"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build?
+       #t
+       #:cargo-inputs
+       (("rust-chrono" ,rust-chrono-0.4)
+        ("rust-git2" ,rust-git2-0.13))))))
+
 (define-public rust-sharded-slab-0.1
   (package
     (name "rust-sharded-slab")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #28: 0022-gnu-Add-rust-ntest-test-cases-0.7.patch --]
[-- Type: text/x-patch; name=0022-gnu-Add-rust-ntest-test-cases-0.7.patch, Size: 2189 bytes --]

From 666be610091920dc8fb9bc0ac2a7e6440426c02f Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Wed, 7 Dec 2022 17:14:14 +0100
Subject: [PATCH 22/31] gnu: Add rust-ntest-test-cases-0.7.

* gnu/packages/crates-io.scm (rust-ntest-test-cases-0.7): New variable.
(rust-ntest-test-cases-0.3): Inherit from above.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 180c1576bf..df006b0014 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36286,18 +36286,17 @@ (define-public rust-ntest-0.3
 enhances the built-in library with some useful features.")
     (license license:expat)))
 
-(define-public rust-ntest-test-cases-0.3
+(define-public rust-ntest-test-cases-0.7
   (package
     (name "rust-ntest-test-cases")
-    (version "0.3.4")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "ntest_test_cases" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "0b67m368599b2zgwx19psqz6n3m9m5532h1257x6vz1pym3gd2na"))))
+    (version "0.7.5")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "ntest_test_cases" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1ghal2rb03cnj7ciqgdq0dvifdf8qp2hnmi9z1ip1j5b02s1xa4r"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -36309,6 +36308,20 @@ (define-public rust-ntest-test-cases-0.3
     (description "This package provides test cases for ntest framework.")
     (license license:expat)))
 
+(define-public rust-ntest-test-cases-0.3
+  (package
+    (inherit rust-ntest-test-cases-0.7)
+    (name "rust-ntest-test-cases")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "ntest_test_cases" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0b67m368599b2zgwx19psqz6n3m9m5532h1257x6vz1pym3gd2na"))))))
+
 (define-public rust-ntest-timeout-0.3
   (package
     (name "rust-ntest-timeout")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #29: 0031-gnu-Add-starship.patch --]
[-- Type: text/x-patch; name=0031-gnu-Add-starship.patch, Size: 3958 bytes --]

From 2560058d0da84b9ba7830693e0d5bb7b0d208574 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:36:32 +0100
Subject: [PATCH 31/31] gnu: Add starship.

* gnu/packages/rust-apps.scm (starship): New variable.

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 9c8c1ba4d4..8d82115aa5 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -60,6 +60,7 @@ (define-module (gnu packages rust-apps)
   #:use-module (gnu packages freedesktop)
   #:use-module (gnu packages haskell-xyz)
   #:use-module (gnu packages glib)
+  #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages ibus)
   #:use-module (gnu packages icu4c)
@@ -2043,6 +2044,85 @@ (define-public skim-0.7
 (define-public rust-skim-0.7
   (deprecated-package "rust-skim-0.7" skim-0.7))
 
+(define-public starship-0.56
+  (package
+    (name "starship")
+    (version "0.56.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "starship" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0ggqdrmb2jg58pg5ysbm4gv5v359js8kqxsd1vmnzgdxj1v0kkjn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f
+       #:cargo-inputs
+       (("rust-ansi-term" ,rust-ansi-term-0.12)
+        ("rust-attohttpc" ,rust-attohttpc-0.17)
+        ("rust-battery" ,rust-battery-0.7)
+        ("rust-byte-unit" ,rust-byte-unit-4)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-clap" ,rust-clap-2)
+        ("rust-directories-next"
+         ,rust-directories-next-2)
+        ("rust-gethostname" ,rust-gethostname-0.2)
+        ("rust-git2" ,rust-git2-0.13)
+        ("rust-indexmap" ,rust-indexmap-1)
+        ("rust-log" ,rust-log-0.4)
+        ("rust-native-tls" ,rust-native-tls-0.2)
+        ("rust-nix" ,rust-nix-0.21)
+        ("rust-notify-rust" ,rust-notify-rust-4)
+        ("rust-once-cell" ,rust-once-cell-1)
+        ("rust-open" ,rust-open-1)
+        ("rust-os-info" ,rust-os-info-3)
+        ("rust-path-slash" ,rust-path-slash-0.1)
+        ("rust-pest" ,rust-pest-2)
+        ("rust-pest-derive" ,rust-pest-derive-2)
+        ("rust-process-control" ,rust-process-control-3)
+        ("rust-quick-xml" ,rust-quick-xml-0.22)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-rust-ini" ,rust-rust-ini-0.17)
+        ("rust-semver" ,rust-semver-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-shadow-rs" ,rust-shadow-rs-0.6)
+        ("rust-shadow-rs" ,rust-shadow-rs-0.6)
+        ("rust-shell-words" ,rust-shell-words-1)
+        ("rust-starship-module-config-derive"
+         ,rust-starship-module-config-derive-0.2)
+        ("rust-strsim" ,rust-strsim-0.10)
+        ("rust-sys-info" ,rust-sys-info-0.9)
+        ("rust-term-size" ,rust-term-size-0.3)
+        ("rust-toml" ,rust-toml-0.5)
+        ("rust-unicode-segmentation"
+         ,rust-unicode-segmentation-1)
+        ("rust-unicode-width" ,rust-unicode-width-0.1)
+        ("rust-urlencoding" ,rust-urlencoding-1)
+        ("rust-versions" ,rust-versions-3)
+        ("rust-which" ,rust-which-4)
+        ("rust-winapi" ,rust-winapi-0.3)
+        ("rust-yaml-rust" ,rust-yaml-rust-0.4))
+       #:cargo-development-inputs
+       (("rust-mockall" ,rust-mockall-0.10)
+        ("rust-tempfile" ,rust-tempfile-3))))
+    (inputs
+     `(("zlib" ,zlib)
+	   ("libgit2-glib" ,libgit2-glib)
+       ("pkg-config" ,pkg-config)
+       ("openssl" ,openssl)))
+    (home-page "https://starship.rs")
+    (synopsis
+     "Customizable prompt for any shell")
+    (description
+     "This package provides customizable prompt for any shell.")
+    (license license:isc)))
+
 (define-public svd2rust
   (package
     (name "svd2rust")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #30: 0012-gnu-Add-rust-path-slash-0.1.patch --]
[-- Type: text/x-patch; name=0012-gnu-Add-rust-path-slash-0.1.patch, Size: 1394 bytes --]

From 03f473f4fdf5c55f6c3a742c0e6d9c058fc5601a Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:22:34 +0100
Subject: [PATCH 12/31] gnu: Add rust-path-slash-0.1.

* gnu/packages/crates-io.scm (rust-path-slash-0.1): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a133a57f06..92052b0a37 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39524,6 +39524,26 @@ (define-public rust-path-clean-0.1
 path.Clean.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-path-slash-0.1
+  (package
+    (name "rust-path-slash")
+    (version "0.1.4")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "path-slash" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "06dnnmd3fvmr9ngwgj0xrfj9s8h09m9dgf3zlqsbalzk9wybpb1w"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t))
+    (home-page "https://github.com/rhysd/path-slash")
+    (synopsis "Conversion to/from a file path from/to slash path")
+    (description "This package provides conversion to/from a file path from/to
+slash path")
+    (license license:expat)))
+
 (define-public rust-pathdiff-0.2
   (package
     (name "rust-pathdiff")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #31: 0029-gnu-Add-rust-notify-rust-4.patch --]
[-- Type: text/x-patch; name=0029-gnu-Add-rust-notify-rust-4.patch, Size: 2920 bytes --]

From 858833662d8f1766a303348d55bb1b60d2362856 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:40:32 +0100
Subject: [PATCH 29/31] gnu: Add rust-notify-rust-4.

* gnu/packages/crates-io.scm (rust-notify-rust-4): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2b2cded69b..4fdcdd880e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36235,6 +36235,37 @@ (define-public rust-notify-4
        (("rust-tempfile" ,rust-tempfile-3))))
     (license license:cc0)))
 
+(define-public rust-notify-rust-4
+  (package
+    (name "rust-notify-rust")
+    (version "4.5.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "notify-rust" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (patches (search-patches
+                        "rust-notify-rust-remove-mac-and-win.patch"))
+              (sha256
+               (base32
+                "0iq2wwyfn4rhrxy1b3h8hadvpcghay1k33c26l6bcs3jrm1afb1a"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-dbus" ,rust-dbus-0.9)
+                       ("rust-image" ,rust-image-0.23)
+                       ("rust-lazy-static" ,rust-lazy-static-1)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-zbus" ,rust-zbus-1)
+                       ("rust-zvariant" ,rust-zvariant-2)
+                       ("rust-zvariant-derive" ,rust-zvariant-derive-2))
+       #:cargo-development-inputs (("rust-color-backtrace" ,rust-color-backtrace-0.5)
+                                   ("rust-maplit" ,rust-maplit-1))))
+    (home-page "https://github.com/hoodie/notify-rust")
+    (synopsis "Show desktop notifications")
+    (description "This packages provides show desktop notification.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-notmuch-0.6
   (package
     (name "rust-notmuch")
diff --git a/gnu/packages/patches/rust-notify-rust-remove-mac-and-win.patch b/gnu/packages/patches/rust-notify-rust-remove-mac-and-win.patch
new file mode 100644
index 0000000000..86724840b4
--- /dev/null
+++ b/gnu/packages/patches/rust-notify-rust-remove-mac-and-win.patch
@@ -0,0 +1,14 @@
+--- a/Cargo.toml	2022-12-06 13:51:49.230286687 +0100
++++ b/Cargo.toml	2022-12-06 13:52:33.577871799 +0100
+@@ -80,11 +80,3 @@
+ [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies.zvariant_derive]
+ version = "2"
+ optional = true
+-[target."cfg(target_os=\"macos\")".dependencies.chrono]
+-version = "0.4"
+-optional = true
+-
+-[target."cfg(target_os=\"macos\")".dependencies.mac-notification-sys]
+-version = "0.3"
+-[target."cfg(target_os=\"windows\")".dependencies.winrt-notification]
+-version = "0.2"
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #32: 0028-gnu-Add-rust-attohttpc-0.17.patch --]
[-- Type: text/x-patch; name=0028-gnu-Add-rust-attohttpc-0.17.patch, Size: 2444 bytes --]

From 7e218465459a059a77ab141c2ee1ce7e36ce4f76 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Tue, 6 Dec 2022 10:35:32 +0100
Subject: [PATCH 28/31] gnu: Add rust-attohttpc-0.17.

* gnu/packages/crates-io.scm (rust-attohttpc-0.17): New variable.

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 21d6786b82..2b2cded69b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5038,6 +5038,43 @@ (define-public rust-atomic-waker-1
      "This package provides a synchronization primitive for task wakeup.")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-attohttpc-0.17
+  (package
+    (name "rust-attohttpc")
+    (version "0.17.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "attohttpc" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0bg0d95smcd5nrp5d3h1c3w1vlizdrvnq412jcrjn9jpahqdm2ws"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-encoding-rs" ,rust-encoding-rs-0.8)
+                       ("rust-encoding-rs-io" ,rust-encoding-rs-io-0.1)
+                       ("rust-flate2" ,rust-flate2-1)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-mime" ,rust-mime-0.3)
+                       ("rust-multipart" ,rust-multipart-0.17)
+                       ("rust-native-tls" ,rust-native-tls-0.2)
+                       ("rust-openssl" ,rust-openssl-0.10)
+                       ("rust-rustls" ,rust-rustls-0.18)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-serde-urlencoded" ,rust-serde-urlencoded-0.6)
+                       ("rust-url" ,rust-url-2)
+                       ("rust-webpki" ,rust-webpki-0.21)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.19)
+                       ("rust-wildmatch" ,rust-wildmatch-1))))
+    (home-page "https://github.com/sbstp/attohttpc")
+    (synopsis "Small and lightweight HTTP client")
+    (description "This package provides small and lightweight HTTP
+client.")
+    (license license:mpl2.0)))
+
 (define-public rust-atty-0.2
   (package
     (name "rust-atty")
-- 
2.38.1


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-12-08  0:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08  0:31 [bug#59893] Add Starship prompt phodina via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.