* [bug#66842] [PATCH 01/39] gnu: Add rust-tui-0.19.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 02/39] gnu: rust-shellexpand-2: Update to 2.1.2 Jaeme Sifat via Guix-patches via
` (39 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
This patch also fixes both rust-tui-0.16 and rust-tui-0.15 so that they are
both built and tested (rust-tui-0.15 didn't even have all the correct
dev-dependencies).
* gnu/packages/crates-io.scm (rust-tui-0.19): New variable.
Change-Id: Ibee980780517ebfeec91012fa95c34ddb233fecf
---
gnu/packages/crates-io.scm | 91 +++++++++++++++++++++++++-------------
1 file changed, 60 insertions(+), 31 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc26147157..5ead7a9a0e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78617,34 +78617,31 @@ (define-public rust-ttf-parser-0.6
(base32 "1p4z969pwd5adayy3ijq94iiak42yfxz8hk5wnkdsirymgbpqp9y"))))
(arguments `(#:skip-build? #t))))
-(define-public rust-tui-0.16
+(define-public rust-tui-0.19
(package
(name "rust-tui")
- (version "0.16.0")
+ (version "0.19.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "tui" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r"))))
+ (base32 "1ldswnqgmdkd2fkislyh1amd6rmnbx3s8b97k9j7w03lsv5jdpfc"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
- ("rust-cassowary" ,rust-cassowary-0.3)
- ("rust-crossterm" ,rust-crossterm-0.20)
- ("rust-easycurses" ,rust-easycurses-0.12)
- ("rust-pancurses" ,rust-pancurses-0.16)
- ("rust-rustbox" ,rust-rustbox-0.11)
- ("rust-serde" ,rust-serde-1)
- ("rust-termion" ,rust-termion-1)
- ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
- ("rust-unicode-width" ,rust-unicode-width-0.1))
- #:cargo-development-inputs
- (("rust-argh" ,rust-argh-0.1)
- ("rust-rand" ,rust-rand-0.8))))
+ `(#:cargo-test-flags `("--"
+ "--skip=buffer::tests::index_of_panics_on_out_of_bounds"
+ "--skip=buffer::tests::pos_of_panics_on_out_of_bounds")
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cassowary" ,rust-cassowary-0.3)
+ ("rust-crossterm" ,rust-crossterm-0.25)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-termion" ,rust-termion-1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1)
+ ("rust-rand" ,rust-rand-0.8))))
(home-page "https://github.com/fdehau/tui-rs")
(synopsis "Library to build rich terminal user interfaces or dashboards")
(description
@@ -78652,9 +78649,38 @@ (define-public rust-tui-0.16
or dashboards.")
(license license:expat)))
+(define-public rust-tui-0.16
+ (package
+ (inherit rust-tui-0.19)
+ (name "rust-tui")
+ (version "0.16.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "tui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08qcdjmi8sn2xyh38ilr17i9bn89ic2aaqx3rybyv7h44x7cxj1r"))))
+ (arguments
+ `(#:cargo-test-flags `("--"
+ "--skip=buffer::tests::index_of_panics_on_out_of_bounds"
+ "--skip=buffer::tests::pos_of_panics_on_out_of_bounds")
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cassowary" ,rust-cassowary-0.3)
+ ("rust-crossterm" ,rust-crossterm-0.20)
+ ("rust-easycurses" ,rust-easycurses-0.12)
+ ("rust-pancurses" ,rust-pancurses-0.16)
+ ("rust-rustbox" ,rust-rustbox-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-termion" ,rust-termion-1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1)
+ ("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-tui-0.15
(package
- (inherit rust-tui-0.16)
+ (inherit rust-tui-0.19)
(name "rust-tui")
(version "0.15.0")
(source
@@ -78665,18 +78691,21 @@ (define-public rust-tui-0.15
(sha256
(base32 "0w9azg9zj1nnwcwbra9pxrwy47ab0m2bhanbkchydv8lscx8y7c6"))))
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
- ("rust-cassowary" ,rust-cassowary-0.3)
- ("rust-crossterm" ,rust-crossterm-0.19)
- ("rust-easycurses" ,rust-easycurses-0.12)
- ("rust-pancurses" ,rust-pancurses-0.16)
- ("rust-rustbox" ,rust-rustbox-0.11)
- ("rust-serde" ,rust-serde-1)
- ("rust-termion" ,rust-termion-1)
- ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
- ("rust-unicode-width" ,rust-unicode-width-0.1))))))
+ `(#:cargo-test-flags `("--"
+ "--skip=buffer::tests::index_of_panics_on_out_of_bounds"
+ "--skip=buffer::tests::pos_of_panics_on_out_of_bounds")
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-cassowary" ,rust-cassowary-0.3)
+ ("rust-crossterm" ,rust-crossterm-0.19)
+ ("rust-easycurses" ,rust-easycurses-0.12)
+ ("rust-pancurses" ,rust-pancurses-0.16)
+ ("rust-rustbox" ,rust-rustbox-0.11)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-termion" ,rust-termion-1)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))
+ #:cargo-development-inputs (("rust-argh" ,rust-argh-0.1)
+ ("rust-rand" ,rust-rand-0.8))))))
(define-public rust-tuikit-0.4
(package
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 02/39] gnu: rust-shellexpand-2: Update to 2.1.2.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 01/39] gnu: Add rust-tui-0.19 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 03/39] gnu: Add rust-shellexpand-3 Jaeme Sifat via Guix-patches via
` (38 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-shellexpand-2): Update to 2.1.2.
Change-Id: I8f3a62e2fdde0883a89995a295911ed1e6246be7
---
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 5ead7a9a0e..a4828d6eab 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65785,19 +65785,17 @@ (define-public rust-shell-words-0.1
(define-public rust-shellexpand-2
(package
(name "rust-shellexpand")
- (version "2.1.0")
+ (version "2.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "shellexpand" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0a981ynym0hipnvkd93ihszdszjqs0cslj5ilzsdv19d3f1vggc3"))))
+ (base32 "1r0i1r2r3dv0rc82xc5vhxmwl3zbvblf91sgmwls0k8chiv81k3w"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-dirs-next" ,rust-dirs-next-2))))
+ `(#:cargo-inputs (("rust-dirs" ,rust-dirs-4))))
(home-page "https://github.com/netvl/shellexpand")
(synopsis "Shell-like expansions in strings")
(description
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 03/39] gnu: Add rust-shellexpand-3.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 01/39] gnu: Add rust-tui-0.19 Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 02/39] gnu: rust-shellexpand-2: Update to 2.1.2 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 04/39] gnu: Add rust-windows-interface-0.48 Jaeme Sifat via Guix-patches via
` (37 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-shellexpand-3): New variable.
Change-Id: I153d86db8c98f6c53ccaa8653b12c3d69573983c
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a4828d6eab..167d5ee5e0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65782,20 +65782,22 @@ (define-public rust-shell-words-0.1
(sha256
(base32 "0jnrw3f174974fsi2hg48l0klpy24767ib28w0xcvi2ll5axxb1r"))))))
-(define-public rust-shellexpand-2
+(define-public rust-shellexpand-3
(package
(name "rust-shellexpand")
- (version "2.1.2")
+ (version "3.1.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "shellexpand" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1r0i1r2r3dv0rc82xc5vhxmwl3zbvblf91sgmwls0k8chiv81k3w"))))
+ (base32 "0jz1i14ziz8gbyj71212s7dqrw6q96f25i48zkmy66fcjhxzl0ys"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs (("rust-dirs" ,rust-dirs-4))))
+ `(#:cargo-inputs (("rust-bstr" ,rust-bstr-1)
+ ("rust-dirs" ,rust-dirs-5)
+ ("rust-os-str-bytes" ,rust-os-str-bytes-6))))
(home-page "https://github.com/netvl/shellexpand")
(synopsis "Shell-like expansions in strings")
(description
@@ -65806,6 +65808,21 @@ (define-public rust-shellexpand-2
some context).")
(license (list license:expat license:asl2.0))))
+(define-public rust-shellexpand-2
+ (package
+ (inherit rust-shellexpand-3)
+ (name "rust-shellexpand")
+ (version "2.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "shellexpand" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r0i1r2r3dv0rc82xc5vhxmwl3zbvblf91sgmwls0k8chiv81k3w"))))
+ (arguments
+ `(#:cargo-inputs (("rust-dirs" ,rust-dirs-4))))))
+
(define-public rust-shlex-1
(package
(name "rust-shlex")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 04/39] gnu: Add rust-windows-interface-0.48.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (2 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 03/39] gnu: Add rust-shellexpand-3 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 05/39] gnu: Add rust-windows-implement-0.48 Jaeme Sifat via Guix-patches via
` (36 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-interface-0.48): New variable.
Change-Id: If9fff8d2a8db1ae80867d5bb16d3adb67f45346b
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++----------
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 167d5ee5e0..7cba70bc2e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83400,8 +83400,32 @@ (define-public rust-windows-implement-0.32
crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-windows-interface-0.48
+ (package
+ (name "rust-windows-interface")
+ (version "0.48.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-interface" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iqcilw0hfyzwhk12xfmcy40r10406sgf4xmdansijlv1kr8vyz6"))))
+ (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/microsoft/windows-rs")
+ (synopsis "The interface macro for the windows crate")
+ (description
+ "This package provides the interface macro for the windows crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-interface-0.46
(package
+ (inherit rust-windows-interface-0.48)
(name "rust-windows-interface")
(version "0.46.0")
(source (origin
@@ -83411,18 +83435,11 @@ (define-public rust-windows-interface-0.46
(sha256
(base32
"0a87zxh3wq5ng1vvgqf7jhydsshrpc5w39pyvr0l1vyv3q5k67xc"))))
- (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/microsoft/windows-rs")
- (synopsis "The interface macro for the windows crate")
- (description "This package provides the interface macro for the windows
-crate.")
- (license (list license:expat license:asl2.0))))
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-sys-0.48
(package
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 05/39] gnu: Add rust-windows-implement-0.48.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (3 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 04/39] gnu: Add rust-windows-interface-0.48 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 06/39] gnu: Add rust-windows-0.48 Jaeme Sifat via Guix-patches via
` (35 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-implement-0.48): New variable.
Change-Id: I3ed3fc74e6258a00a79aac4fd7b125398601531e
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++----------
1 file changed, 27 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7cba70bc2e..50c8f98b19 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83353,8 +83353,32 @@ (define-public rust-windows-i686-msvc-0.28
(base32
"0r0z8s1wcdwd20azsdfilf2a6bz68xkavl990wy64hyc8f51bmai"))))))
+(define-public rust-windows-implement-0.48
+ (package
+ (name "rust-windows-implement")
+ (version "0.48.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-implement" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1764n853zd7bb0wn94i0qxfs6kdy7wrz7v9qhdn7x7hvk64fabjy"))))
+ (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/microsoft/windows-rs")
+ (synopsis "The implement macro for the windows crate")
+ (description "This package provides the @code{implement} macro for the
+windows crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-implement-0.46
(package
+ (inherit rust-windows-implement-0.48)
(name "rust-windows-implement")
(version "0.46.0")
(source (origin
@@ -83364,18 +83388,11 @@ (define-public rust-windows-implement-0.46
(sha256
(base32
"09kw706qcms5yy34lf714zspj34v8jirfxv7yycavpcsa9czpd69"))))
- (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/microsoft/windows-rs")
- (synopsis "The implement macro for the windows crate")
- (description "This package provides the @code{implement} macro for the
-windows crate.")
- (license (list license:expat license:asl2.0))))
+ #:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-windows-implement-0.32
(package
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 06/39] gnu: Add rust-windows-0.48.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (4 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 05/39] gnu: Add rust-windows-implement-0.48 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 07/39] gnu: Add rust-wmi-0.12 Jaeme Sifat via Guix-patches via
` (34 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-0.48): New variable.
Change-Id: I7b20fb2784b126275b4a81261e031bfb53fcdc1d
---
gnu/packages/crates-io.scm | 40 ++++++++++++++++++++++++++------------
1 file changed, 28 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 50c8f98b19..97779b4623 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83005,8 +83005,33 @@ (define-public rust-wincolor-0.1
#:cargo-inputs
(("rust-winapi" ,rust-winapi-0.3))))))
+(define-public rust-windows-0.48
+ (package
+ (name "rust-windows")
+ (version "0.48.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03vh89ilnxdxdh0n9np4ns4m10fvm93h3b0cc05ipg3qq1mqi1p6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.48)
+ ("rust-windows-interface" ,rust-windows-interface-0.48)
+ ("rust-windows-targets" ,rust-windows-targets-0.48))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Rust for Windows")
+ (description "The windows crate lets you call any Windows API past,
+present, and future using code generated on the fly directly from the metadata
+describing the API and right into your Rust package where you can call them as
+if they were just another Rust module.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-0.46
(package
+ (inherit rust-windows-0.48)
(name "rust-windows")
(version "0.46.0")
(source (origin
@@ -83016,19 +83041,10 @@ (define-public rust-windows-0.46
(sha256
(base32
"098crdz9gxgy3614ygznqqhn28q097r498b3rg35584nd8gb9b6d"))))
- (build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-windows-implement" ,rust-windows-implement-0.46)
- ("rust-windows-interface" ,rust-windows-interface-0.46)
- ("rust-windows-targets" ,rust-windows-targets-0.42))))
- (home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Rust for Windows")
- (description "The windows crate lets you call any Windows API past,
-present, and future using code generated on the fly directly from the metadata
-describing the API and right into your Rust package where you can call them as
-if they were just another Rust module.")
- (license (list license:expat license:asl2.0))))
+ `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.46)
+ ("rust-windows-interface" ,rust-windows-interface-0.46)
+ ("rust-windows-targets" ,rust-windows-targets-0.42))))))
(define-public rust-windows-0.32
(package
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 07/39] gnu: Add rust-wmi-0.12.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (5 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 06/39] gnu: Add rust-windows-0.48 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 08/39] gnu: Add rust-windows-x86-64-msvc-0.39 Jaeme Sifat via Guix-patches via
` (33 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-wmi-0.12): New variable.
Change-Id: I602596f4e8502a134d6bb27286ebff3fe5945e25
---
gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 97779b4623..3642a20c53 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84093,6 +84093,39 @@ (define-public rust-wio-0.2
API but without hiding any functionality.")
(license (list license:expat license:asl2.0))))
+(define-public rust-wmi-0.12
+ (package
+ (name "rust-wmi")
+ (version "0.12.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wmi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "000sdzx8fnw913ws28ranf8bhm8dvvdpz89s4fhqfbkxpd5b9zys"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-time" ,rust-time-0.3)
+ ("rust-windows" ,rust-windows-0.48))
+ #:cargo-development-inputs (("rust-async-std" ,rust-async-std-1)
+ ("rust-criterion" ,rust-criterion-0.4)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tempdir" ,rust-tempdir-0.3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/ohadravid/wmi-rs")
+ (synopsis "WMI crate for Rust")
+ (description
+ "This package provides the WMI (Windows Management Instrumentation) crate
+for Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-write-json-0.1
(package
(name "rust-write-json")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 08/39] gnu: Add rust-windows-x86-64-msvc-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (6 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 07/39] gnu: Add rust-wmi-0.12 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 09/39] gnu: Add rust-windows-x86-64-gnu-0.39 Jaeme Sifat via Guix-patches via
` (32 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
This patch also replaces the snippet code with gexps.
* gnu/packages/crates-io.scm (rust-windows-x86-64-msvc-0.39): New variable.
Change-Id: Ic1e6691e11acaa419d1e6a8fb9403f7648a61a0e
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3642a20c53..dc1cb35dc5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83816,7 +83816,7 @@ (define-public rust-windows-x86-64-msvc-0.48
(base32
"12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s"))
(snippet
- '(delete-file "lib/windows.0.48.0.lib"))))
+ #~(delete-file "lib/windows.0.48.0.lib"))))
(build-system cargo-build-system)
(arguments (list #:skip-build? #t))
(home-page "https://github.com/microsoft/windows-rs")
@@ -83838,9 +83838,24 @@ (define-public rust-windows-x86-64-msvc-0.42
(base32
"1w5r0q0yzx827d10dpjza2ww0j8iajqhmb54s735hhaj66imvv4s"))
(snippet
- '(delete-file "lib/windows.lib"))))
+ #~(delete-file "lib/windows.lib"))))
(arguments (list #:skip-build? #t))))
+(define-public rust-windows-x86-64-msvc-0.39
+ (package
+ (inherit rust-windows-x86-64-msvc-0.42)
+ (name "rust-windows-x86-64-msvc")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "02g8fy1sv8g0p4fi2yk62j9a5zwhcfknp9vwg1ifkjp97a440kay"))
+ (snippet
+ #~(delete-file "lib/windows.lib"))))))
+
(define-public rust-windows-x86-64-msvc-0.36
(package
(inherit rust-windows-x86-64-msvc-0.42)
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 09/39] gnu: Add rust-windows-x86-64-gnu-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (7 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 08/39] gnu: Add rust-windows-x86-64-msvc-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 10/39] gnu: Add rust-windows-i686-msvc-0.39 Jaeme Sifat via Guix-patches via
` (31 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-x86-64-gnu-0.39): New variable.
Change-Id: I3f12ce86ede98b1285f1007cb4ea205bb77e83f5
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index dc1cb35dc5..a765b0fc3f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83698,7 +83698,7 @@ (define-public rust-windows-x86-64-gnu-0.48
(base32
"1cblz5m6a8q6ha09bz4lz233dnq5sw2hpra06k9cna3n3xk8laya"))
(snippet
- '(delete-file "lib/libwindows.0.48.0.a"))))
+ #~(delete-file "lib/libwindows.0.48.0.a"))))
(build-system cargo-build-system)
(arguments
(list #:skip-build? #t))
@@ -83721,10 +83721,25 @@ (define-public rust-windows-x86-64-gnu-0.42
(base32
"0dnbf2xnp3xrvy8v9mgs3var4zq9v9yh9kv79035rdgyp2w15scd"))
(snippet
- '(delete-file "lib/libwindows.a"))))
+ #~(delete-file "lib/libwindows.a"))))
(arguments
(list #:skip-build? #t))))
+(define-public rust-windows-x86-64-gnu-0.39
+ (package
+ (inherit rust-windows-x86-64-gnu-0.42)
+ (name "rust-windows-x86-64-gnu")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0r9b4lmapq66nn2dga7a0mkdv5sgbp184kfwx3hklrbxcdjw2s38"))
+ (snippet
+ #~(delete-file "lib/libwindows.a"))))))
+
(define-public rust-windows-x86-64-gnu-0.36
(package
(inherit rust-windows-x86-64-gnu-0.42)
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 10/39] gnu: Add rust-windows-i686-msvc-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (8 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 09/39] gnu: Add rust-windows-x86-64-gnu-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 11/39] gnu: Add rust-windows-i686-gnu-0.39 Jaeme Sifat via Guix-patches via
` (30 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-i686-msvc-0.39): New variable.
Change-Id: I5d2707970ad5809c790bee5baeb21bad6e511f43
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a765b0fc3f..4cd23ec8f6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83300,7 +83300,7 @@ (define-public rust-windows-i686-msvc-0.48
(base32
"004fkyqv3if178xx9ksqc4qqv8sz8n72mpczsr2vy8ffckiwchj5"))
(snippet
- '(delete-file "lib/windows.0.48.0.lib"))))
+ #~(delete-file "lib/windows.0.48.0.lib"))))
(build-system cargo-build-system)
(arguments
(list #:skip-build? #t))
@@ -83323,10 +83323,25 @@ (define-public rust-windows-i686-msvc-0.42
(base32
"0q0h9m2aq1pygc199pa5jgc952qhcnf0zn688454i7v4xjv41n24"))
(snippet
- '(delete-file "lib/windows.lib"))))
+ #~(delete-file "lib/windows.lib"))))
(arguments
(list #:skip-build? #t))))
+(define-public rust-windows-i686-msvc-0.39
+ (package
+ (inherit rust-windows-i686-msvc-0.42)
+ (name "rust-windows-i686-msvc")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01hiv9msxssy5iqxs7bczvf094k4mz56yi4z1bhj32c2b3zcpivv"))
+ (snippet
+ #~(delete-file "lib/windows.lib"))))))
+
(define-public rust-windows-i686-msvc-0.36
(package
(inherit rust-windows-i686-msvc-0.42)
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 11/39] gnu: Add rust-windows-i686-gnu-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (9 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 10/39] gnu: Add rust-windows-i686-msvc-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 12/39] gnu: Add rust-windows-aarch64-msvc-0.39 Jaeme Sifat via Guix-patches via
` (29 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-i686-gnu-0.39): New variable.
Change-Id: I7bc3d62c8a5cf3d04bc87a092e219eef5905acdc
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4cd23ec8f6..d24b69f5a7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83219,7 +83219,7 @@ (define-public rust-windows-i686-gnu-0.48
(base32
"0hd2v9kp8fss0rzl83wzhw0s5z8q1b4875m6s1phv0yvlxi1jak2"))
(snippet
- '(delete-file "lib/libwindows.0.48.0.a"))))
+ #~(delete-file "lib/libwindows.0.48.0.a"))))
(build-system cargo-build-system)
(arguments
(list #:skip-build? #t))
@@ -83242,10 +83242,25 @@ (define-public rust-windows-i686-gnu-0.42
(base32
"0kx866dfrby88lqs9v1vgmrkk1z6af9lhaghh5maj7d4imyr47f6"))
(snippet
- '(delete-file "lib/libwindows.a"))))
+ #~(delete-file "lib/libwindows.a"))))
(arguments
(list #:skip-build? #t))))
+(define-public rust-windows-i686-gnu-0.39
+ (package
+ (inherit rust-windows-i686-gnu-0.42)
+ (name "rust-windows-i686-gnu")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06wynhxklmh3s1ril9bh00rhv1npppcyirsp60p09xx501qwagvn"))
+ (snippet
+ #~(delete-file "lib/libwindows.a"))))))
+
(define-public rust-windows-i686-gnu-0.36
(package
(inherit rust-windows-i686-gnu-0.42)
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 12/39] gnu: Add rust-windows-aarch64-msvc-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (10 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 11/39] gnu: Add rust-windows-i686-gnu-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 13/39] gnu: Add rust-windows-interface-0.39 Jaeme Sifat via Guix-patches via
` (28 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-aarch64-msvc-0.39): New variable.
Change-Id: I1af23976f24962c059dca875923d314b2150a4ec
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++--
1 file changed, 17 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d24b69f5a7..4355d8e9a2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83138,7 +83138,7 @@ (define-public rust-windows-aarch64-msvc-0.48
(base32
"1wvwipchhywcjaw73h998vzachf668fpqccbhrxzrz5xszh2gvxj"))
(snippet
- '(delete-file "lib/windows.0.48.0.lib"))))
+ #~(delete-file "lib/windows.0.48.0.lib"))))
(build-system cargo-build-system)
(arguments
(list #:skip-build? #t))
@@ -83161,10 +83161,25 @@ (define-public rust-windows-aarch64-msvc-0.42
(base32
"0hsdikjl5sa1fva5qskpwlxzpc5q9l909fpl1w6yy1hglrj8i3p0"))
(snippet
- '(delete-file "lib/windows.lib"))))
+ #~(delete-file "lib/windows.lib"))))
(arguments
(list #:skip-build? #t))))
+(define-public rust-windows-aarch64-msvc-0.39
+ (package
+ (inherit rust-windows-aarch64-msvc-0.42)
+ (name "rust-windows-aarch64-msvc")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows_aarch64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wj0nfmyli4bn5af243r4s3zncxv0n4j6dd8zyb41gcnc1k12xzc"))
+ (snippet
+ #~(delete-file "lib/windows.lib"))))))
+
(define-public rust-windows-aarch64-msvc-0.36
(package
(inherit rust-windows-aarch64-msvc-0.42)
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 13/39] gnu: Add rust-windows-interface-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (11 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 12/39] gnu: Add rust-windows-aarch64-msvc-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 14/39] gnu: Add rust-windows-tokens-0.39 Jaeme Sifat via Guix-patches via
` (27 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-interface-0.39): New variable.
Change-Id: I631cdb6d80b96cbdfe105444e1b663dc35777ff8
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4355d8e9a2..4e69e3b713 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83519,6 +83519,19 @@ (define-public rust-windows-interface-0.46
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-windows-interface-0.39
+ (package
+ (inherit rust-windows-interface-0.46)
+ (name "rust-windows-interface")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-interface" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00h56znmak3p8bh28y3s48m5zv6q7dn40vnvf3dzf0sz5rszrym2"))))))
+
(define-public rust-windows-sys-0.48
(package
(name "rust-windows-sys")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 14/39] gnu: Add rust-windows-tokens-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (12 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 13/39] gnu: Add rust-windows-interface-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 15/39] gnu: Add rust-windows-implement-0.39 Jaeme Sifat via Guix-patches via
` (26 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-tokens-0.39): New variable.
Change-Id: I210170648c7099e64530a40f3aef845348cb6987
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++---------
1 file changed, 22 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e69e3b713..d69ba221b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83724,17 +83724,17 @@ (define-public rust-windows-targets-0.42
("rust-windows-x86-64-gnullvm" ,rust-windows-x86-64-gnullvm-0.42)
("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.42))))))
-(define-public rust-windows-tokens-0.32
+(define-public rust-windows-tokens-0.39
(package
(name "rust-windows-tokens")
- (version "0.32.0")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "windows-tokens" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn"))))
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-tokens" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15zmsz8ji6z7471xwznrm4hqp6j94s7pjjz7i34vmrjzw4pxwf7q"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t))
@@ -83744,6 +83744,19 @@ (define-public rust-windows-tokens-0.32
windows crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-windows-tokens-0.32
+ (package
+ (inherit rust-windows-tokens-0.39)
+ (name "rust-windows-tokens")
+ (version "0.32.0")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-tokens" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn"))))))
+
(define-public rust-windows-x86-64-gnu-0.48
(package
(name "rust-windows-x86-64-gnu")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 15/39] gnu: Add rust-windows-implement-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (13 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 14/39] gnu: Add rust-windows-tokens-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 16/39] gnu: Add rust-windows-0.39 Jaeme Sifat via Guix-patches via
` (25 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-implement-0.39): New variable.
Change-Id: I180826bc7ba0a91b69553286e364bf79537a24d2
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d69ba221b5..047c4cc0c7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83455,6 +83455,23 @@ (define-public rust-windows-implement-0.46
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
+(define-public rust-windows-implement-0.39
+ (package
+ (inherit rust-windows-implement-0.46)
+ (name "rust-windows-implement")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-implement" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ryfy5sgf26xmflf33zabzqn10pp6pjrbz75yh2xrdcwa27zj0ds"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-syn" ,rust-syn-1)
+ ("rust-windows-tokens" ,rust-windows-tokens-0.39))))))
+
(define-public rust-windows-implement-0.32
(package
(name "rust-windows-implement")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 16/39] gnu: Add rust-windows-0.39.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (14 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 15/39] gnu: Add rust-windows-implement-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 17/39] gnu: rust-thiserror-impl-1: Update to 1.0.50 Jaeme Sifat via Guix-patches via
` (24 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-windows-0.39): New variable.
Change-Id: I2ab679e86ccd13fafc7aa6666499b15f09dbc99a
---
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 047c4cc0c7..1ba9103caf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83046,6 +83046,27 @@ (define-public rust-windows-0.46
("rust-windows-interface" ,rust-windows-interface-0.46)
("rust-windows-targets" ,rust-windows-targets-0.42))))))
+(define-public rust-windows-0.39
+ (package
+ (inherit rust-windows-0.46)
+ (name "rust-windows")
+ (version "0.39.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jkr4rxj6jn7brqxycr1pjgvnixsimsiywl4a7v20q5ca05bvi7i"))))
+ (arguments
+ `(#:cargo-inputs (("rust-windows-implement" ,rust-windows-implement-0.39)
+ ("rust-windows-interface" ,rust-windows-interface-0.39)
+ ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.39)
+ ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.39)
+ ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.39)
+ ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.39)
+ ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.39))))))
+
(define-public rust-windows-0.32
(package
(inherit rust-windows-0.46)
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 17/39] gnu: rust-thiserror-impl-1: Update to 1.0.50.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (15 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 16/39] gnu: Add rust-windows-0.39 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 18/39] gnu: rust-thiserror-1: " Jaeme Sifat via Guix-patches via
` (23 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-thiserror-impl-1): Update to 1.0.50.
Change-Id: I180ed7872f43a526f1f7d807771964f7210b00c8
---
gnu/packages/crates-io.scm | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1ba9103caf..9970e92033 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73630,21 +73630,21 @@ (define-public rust-thiserror-1
(define-public rust-thiserror-impl-1
(package
(name "rust-thiserror-impl")
- (version "1.0.37")
+ (version "1.0.50")
(source
(origin
(method url-fetch)
(uri (crate-uri "thiserror-impl" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1fydmpksd14x1mkc24zas01qjssz8q43sbn2ywl6n527dda1fbcq"))))
+ (base32 "1f0lmam4765sfnwr4b1n00y14vxh10g0311mkk0adr80pi02wsr6"))))
(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))))
+ ("rust-syn" ,rust-syn-2))))
(home-page "https://github.com/dtolnay/thiserror")
(synopsis "Implementation detail of the thiserror crate")
(description "This package provides an implementation detail of the
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 18/39] gnu: rust-thiserror-1: Update to 1.0.50.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (16 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 17/39] gnu: rust-thiserror-impl-1: Update to 1.0.50 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 19/39] gnu: rust-anyhow-1: Update to 1.0.75 Jaeme Sifat via Guix-patches via
` (22 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-thiserror-1): Update to 1.0.50.
Change-Id: I771fdb53dd0e326202413131c585196053f7b533
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9970e92033..497a6ab948 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73604,14 +73604,14 @@ (define-public rust-thin-slice-0.1
(define-public rust-thiserror-1
(package
(name "rust-thiserror")
- (version "1.0.37")
+ (version "1.0.50")
(source
(origin
(method url-fetch)
(uri (crate-uri "thiserror" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0gky83x4i87gd87w3fknnp920wvk9yycp7dgkf5h3jg364vb7phh"))))
+ (base32 "1ll2sfbrxks8jja161zh1pgm3yssr7aawdmaa2xmcwcsbh7j39zr"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 19/39] gnu: rust-anyhow-1: Update to 1.0.75.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (17 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 18/39] gnu: rust-thiserror-1: " Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 20/39] gnu: rust-getset-0.1: Update to 0.1.2 Jaeme Sifat via Guix-patches via
` (21 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-anyhow-1): Update to 1.0.75.
Change-Id: Ic541026363c4f9a028f2a3dca7f8ee2f4a668668
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 497a6ab948..560d325337 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -3612,7 +3612,7 @@ (define-public rust-antidote-1
(define-public rust-anyhow-1
(package
(name "rust-anyhow")
- (version "1.0.69")
+ (version "1.0.75")
(source
(origin
(method url-fetch)
@@ -3620,7 +3620,7 @@ (define-public rust-anyhow-1
(file-name
(string-append name "-" version ".tar.gz"))
(sha256
- (base32 "007q0cw3zv8y5314c41vjyqznrqvim5ydv0306wy9mn34zbznji2"))))
+ (base32 "1rmcjkim91c5mw7h9wn8nv0k6x118yz0xg0z1q18svgn42mqqrm4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 20/39] gnu: rust-getset-0.1: Update to 0.1.2.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (18 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 19/39] gnu: rust-anyhow-1: Update to 1.0.75 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 21/39] gnu: Add rust-enum-iterator-derive-1 Jaeme Sifat via Guix-patches via
` (20 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-getset-0.1): Update to 0.1.2.
Change-Id: Idf06c1576795df0687bd4a7c887031dcaec973d6
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 560d325337..a25f7ffc30 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -28750,14 +28750,14 @@ (define-public rust-getrandom-0.1
(define-public rust-getset-0.1
(package
(name "rust-getset")
- (version "0.1.1")
+ (version "0.1.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "getset" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "016590lxhlqga016z1qnavl0zavk59b97aix2zcd4wad3b02icr4"))))
+ (base32 "1f8yc83hm5b7vzscxq20ivdv7wlfvabn79j653zh9k3m1qjjfmz4"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 21/39] gnu: Add rust-enum-iterator-derive-1.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (19 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 20/39] gnu: rust-getset-0.1: Update to 0.1.2 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 22/39] gnu: Add rust-enum-iterator-1 Jaeme Sifat via Guix-patches via
` (19 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-enum-iterator-derive-1): New variable.
Change-Id: Ifd29c18719abce1de1a6531853d1894a3e9a2251
---
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 a25f7ffc30..bdc73cdcc6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23790,6 +23790,27 @@ (define-public rust-enum-dispatch-0.3
increasing their method call speed up to 10x.")
(license (list license:expat license:asl2.0))))
+(define-public rust-enum-iterator-derive-1
+ (package
+ (name "rust-enum-iterator-derive")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enum-iterator-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1jzxgfhz4i0hvnw5qzqhwscky8vsmxljv89g0navisacay4qbkzf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))))
+ (home-page "https://github.com/stephaneyfx/enum-iterator")
+ (synopsis "Procedural macro to derive Sequence")
+ (description "This package provides a procedural macro to derive Sequence.")
+ (license license:bsd-0)))
+
(define-public rust-enum-map-derive-0.4
(package
(name "rust-enum-map-derive")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 22/39] gnu: Add rust-enum-iterator-1.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (20 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 21/39] gnu: Add rust-enum-iterator-derive-1 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 23/39] gnu: Add rust-vergen-7 Jaeme Sifat via Guix-patches via
` (18 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-enum-iterator-1): New variable.
Change-Id: I25b636480e591085eef167b43eacb71781971e8b
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bdc73cdcc6..5674ff2837 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23790,6 +23790,29 @@ (define-public rust-enum-dispatch-0.3
increasing their method call speed up to 10x.")
(license (list license:expat license:asl2.0))))
+(define-public rust-enum-iterator-1
+ (package
+ (name "rust-enum-iterator")
+ (version "1.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "enum-iterator" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "12g63d7w5vpq964f7fbnahw2qiqsml3f9j3rxrk6f1yxnmrkipbs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-enum-iterator-derive" ,rust-enum-iterator-derive-1))))
+ (home-page "https://github.com/stephaneyfx/enum-iterator")
+ (synopsis
+ "Tools to iterate over all values of a type (e.g. all variants of an
+enumeration)")
+ (description
+ "This package provides tools to iterate over all values of a
+type (e.g. all variants of an enumeration)")
+ (license license:bsd-0)))
+
(define-public rust-enum-iterator-derive-1
(package
(name "rust-enum-iterator-derive")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 23/39] gnu: Add rust-vergen-7.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (21 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 22/39] gnu: Add rust-enum-iterator-1 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 24/39] gnu: rust-vergen-3: Update to 3.2.0 Jaeme Sifat via Guix-patches via
` (17 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-vergen-7): New variable.
Change-Id: I0f82d128298d6728645bf8c0417fd4f46eeffc6d
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++------
1 file changed, 40 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5674ff2837..e9e98b4298 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80924,8 +80924,47 @@ (define-public rust-vek-0.15
engines, with SIMD support and focus on convenience.")
(license (list license:expat license:asl2.0))))
+(define-public rust-vergen-7
+ (package
+ (name "rust-vergen")
+ (version "7.5.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vergen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0jap8dksn4i8pf2d10w64pz79rz13wyg073j6nbwwvk3sqf8h6zj"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-enum-iterator" ,rust-enum-iterator-1)
+ ("rust-getset" ,rust-getset-0.1)
+ ("rust-git2" ,rust-git2-0.16)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-rustversion" ,rust-rustversion-1)
+ ("rust-sysinfo" ,rust-sysinfo-0.27)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-time" ,rust-time-0.3))
+ #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serial-test" ,rust-serial-test-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list libgit2 zlib))
+ (home-page "https://github.com/rustyhorde/vergen")
+ (synopsis
+ "Generate @code{cargo:rustc-env} instructions via @code{build.rs} for use
+in your code via the @code{env!} macro")
+ (description
+ "This package provides version generation for use in your Rust code.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-vergen-3
(package
+ (inherit rust-vergen-7)
(name "rust-vergen")
(version "3.1.0")
(source
@@ -80937,17 +80976,11 @@ (define-public rust-vergen-3
(sha256
(base32
"1jrr0wihm9si98qz8ghjfnalfvmfv8rqvkgj2npqa7yzjs4hvrac"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-chrono" ,rust-chrono-0.4)
- ("rust-bitflags" ,rust-bitflags-1))))
- (home-page "https://github.com/rustyhorde/vergen")
- (synopsis "Generate version related functions")
- (description
- "Generate version related functions.")
- (license (list license:expat license:asl2.0))))
+ ("rust-bitflags" ,rust-bitflags-1))))))
(define-public rust-version-check-0.9
(package
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 24/39] gnu: rust-vergen-3: Update to 3.2.0.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (22 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 23/39] gnu: Add rust-vergen-7 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 25/39] gnu: rust-sysctl-0.4: Update to 0.4.6 Jaeme Sifat via Guix-patches via
` (16 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-vergen-3): Update to 3.2.0.
Change-Id: Iec57a593c9d7015210eb44e74644e15c028615e9
---
gnu/packages/crates-io.scm | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e9e98b4298..074c0d72f3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -80966,21 +80966,23 @@ (define-public rust-vergen-3
(package
(inherit rust-vergen-7)
(name "rust-vergen")
- (version "3.1.0")
+ (version "3.2.0")
(source
- (origin
- (method url-fetch)
- (uri (crate-uri "vergen" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1jrr0wihm9si98qz8ghjfnalfvmfv8rqvkgj2npqa7yzjs4hvrac"))))
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "vergen" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0npi6z9daviwhbay1pj5gasw680bmq6s5y6my4cqk77hb921w577"))))
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-chrono" ,rust-chrono-0.4)
- ("rust-bitflags" ,rust-bitflags-1))))))
+ `(#:cargo-test-flags `("--release"
+ ;; Not the doc tests.
+ "--lib" "--bins" "--tests")
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-rustc-version" ,rust-rustc-version-0.4))
+ #:cargo-development-inputs (("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-regex" ,rust-regex-1))))))
(define-public rust-version-check-0.9
(package
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 25/39] gnu: rust-sysctl-0.4: Update to 0.4.6.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (23 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 24/39] gnu: rust-vergen-3: Update to 3.2.0 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 26/39] gnu: Add rust-temporary-0.6 Jaeme Sifat via Guix-patches via
` (15 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-sysctl-0.4): Update to 0.4.6.
Change-Id: Ie373e1e07bd119ba6715d15df415f6c7866c0f2c
---
gnu/packages/crates-io.scm | 25 ++++++++++++-------------
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 074c0d72f3..78fd846476 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -71302,29 +71302,28 @@ (define-public rust-syscallz-0.16
(define-public rust-sysctl-0.4
(package
(name "rust-sysctl")
- (version "0.4.0")
+ (version "0.4.6")
(source
(origin
(method url-fetch)
(uri (crate-uri "sysctl" version))
- (file-name
- (string-append name "-" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "0p6bfjsw3v12nb2qsgm6r9klwb5qyh4w55zzmccv8r5aqb8g0085"))))
+ (base32 "1a6g8cb8c7wk0rsz6ixydbmaxhs0i8d3hmywd1qi1bfh08zlhpi2"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-bitflags" ,rust-bitflags-1)
- ("rust-byteorder" ,rust-byteorder-1)
- ("rust-failure" ,rust-failure-0.1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-walkdir" ,rust-walkdir-2))))
+ `(#:cargo-test-flags `("--"
+ "--skip=ctl_value::tests_linux::ctl_value_string"
+ "--skip=sys::ctl_iter::tests::ctl_iter_below_compare_outputs")
+ #:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-walkdir" ,rust-walkdir-2))))
(home-page "https://github.com/johalun/sysctl-rs")
(synopsis "Simplified interface to libc::sysctl")
(description
- "Simplified interface to libc::sysctl.")
+ "This package provides a simplified interface to libc::sysctl.")
(license license:expat)))
(define-public rust-sysctl-0.1
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 26/39] gnu: Add rust-temporary-0.6.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (24 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 25/39] gnu: rust-sysctl-0.4: Update to 0.4.6 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 27/39] gnu: Add rust-sqlite3-src-0.4 Jaeme Sifat via Guix-patches via
` (14 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-temporary-0.6): New variable.
Change-Id: I9b57b8c194a689124fbda9e6f37307766ac21cd8
---
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 78fd846476..e00341ee53 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72581,6 +72581,28 @@ (define-public rust-tempfile-fast-0.3
"This package provides support for Linux-specific tempfile extensions.")
(license license:expat)))
+(define-public rust-temporary-0.6
+ (package
+ (name "rust-temporary")
+ (version "0.6.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "temporary" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1llj529jcbxxc5g76mdyqkysrpy9009n43k028kj1ywv7qqfvmxc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-random" ,rust-random-0.12))))
+ (home-page "https://github.com/stainless-steel/temporary")
+ (synopsis
+ "Provides the means of managing temporary files and folders in Rust")
+ (description
+ "The package provides means of managing temporary files and folders in
+Rust.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-temptree-0.2
(package
(name "rust-temptree")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 27/39] gnu: Add rust-sqlite3-src-0.4.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (25 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 26/39] gnu: Add rust-temporary-0.6 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 28/39] gnu: Add rust-sqlite3-sys-0.14 Jaeme Sifat via Guix-patches via
` (13 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-sqlite3-src-0.4): New variable.
Change-Id: I0de844ab13539a2d0072e7a1428d512cfa1936a5
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++------
1 file changed, 18 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e00341ee53..5d349b3433 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68350,27 +68350,39 @@ (define-public rust-sqlite-0.26
(description "The package provides an interface to SQLite.")
(license (list license:asl2.0 license:expat))))
-(define-public rust-sqlite3-src-0.3
+(define-public rust-sqlite3-src-0.4
(package
(name "rust-sqlite3-src")
- (version "0.3.0")
+ (version "0.4.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sqlite3-src" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52"))))
+ (base32 "14ancc9jafw5ql9carg27icjxcfrdz5izxk4bj7fp5n909x5m0fi"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-cc" ,rust-cc-1)
- ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ `(#:cargo-inputs (("rust-cc" ,rust-cc-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
(home-page "https://github.com/stainless-steel/sqlite3-src")
(synopsis "Provider of SQLite")
(description "The package provides SQLite.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-sqlite3-src-0.3
+ (package
+ (inherit rust-sqlite3-src-0.4)
+ (name "rust-sqlite3-src")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sqlite3-src" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52"))))))
+
(define-public rust-sqlite3-sys-0.13
(package
(name "rust-sqlite3-sys")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 28/39] gnu: Add rust-sqlite3-sys-0.14.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (26 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 27/39] gnu: Add rust-sqlite3-src-0.4 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 29/39] gnu: Add rust-sqlite-0.27 Jaeme Sifat via Guix-patches via
` (12 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-sqlite3-sys-0.14): New variable.
Change-Id: I0a90c6b4a7688787d0cabaed19a2f6b3469f6ef9
---
gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d349b3433..7e81e09120 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68383,28 +68383,44 @@ (define-public rust-sqlite3-src-0.3
(sha256
(base32 "18ygmfcpkccs8s9m5s9q31rrx1mrdps387w9yp3481jswxyb0q52"))))))
-(define-public rust-sqlite3-sys-0.13
+(define-public rust-sqlite3-sys-0.14
(package
(name "rust-sqlite3-sys")
- (version "0.13.0")
+ (version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "sqlite3-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4"))))
+ (base32 "1vmrzgchmbqk9jk1dq1jp1lq6id0p3h8vwna02x60ly59y19jz6l"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))))
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-sqlite3-src" ,rust-sqlite3-src-0.4))
+ #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))
(home-page "https://github.com/stainless-steel/sqlite3-sys")
(synopsis "Bindings to SQLite")
(description "The package provides bindings to SQLite.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-sqlite3-sys-0.13
+ (package
+ (inherit rust-sqlite3-sys-0.14)
+ (name "rust-sqlite3-sys")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sqlite3-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0m1f5r4xg5i3r6795q8vwqfdcq3gh1qlfjwkywnka57bz8lg1lh4"))))
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-sqlite3-src" ,rust-sqlite3-src-0.3))
+ #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))))
+
(define-public rust-st-map-0.1
(package
(name "rust-st-map")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 29/39] gnu: Add rust-sqlite-0.27.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (27 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 28/39] gnu: Add rust-sqlite3-sys-0.14 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 30/39] gnu: Add rust-pciid-parser-0.6 Jaeme Sifat via Guix-patches via
` (11 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-sqlite-0.27): New variable.
Change-Id: I4f72fe9d42b797cb000aed25171caeaf11e8a7e3
---
gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++-------
1 file changed, 23 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7e81e09120..ec51495292 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68328,28 +68328,44 @@ (define-public rust-sptr-0.3
(description "This package provides sptr, The Strict Provenance Polyfill.")
(license (list license:expat license:asl2.0))))
-(define-public rust-sqlite-0.26
+(define-public rust-sqlite-0.27
(package
(name "rust-sqlite")
- (version "0.26.0")
+ (version "0.27.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "sqlite" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0snvg09bs0n8skcxkx52lcymdn0l130a2m8fpvxpdhkyq0sabc9z"))))
+ (base32 "11f1fw5gffni7mqr6mrliacr86v0yg9zmgvj3lhfdv1iz54vjv76"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-libc" ,rust-libc-0.2)
- ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13))))
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.14))
+ #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))
(home-page "https://github.com/stainless-steel/sqlite")
(synopsis "Interface to SQLite")
(description "The package provides an interface to SQLite.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-sqlite-0.26
+ (package
+ (inherit rust-sqlite-0.27)
+ (name "rust-sqlite")
+ (version "0.26.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sqlite" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0snvg09bs0n8skcxkx52lcymdn0l130a2m8fpvxpdhkyq0sabc9z"))))
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-sqlite3-sys" ,rust-sqlite3-sys-0.13))
+ #:cargo-development-inputs (("rust-temporary" ,rust-temporary-0.6))))))
+
(define-public rust-sqlite3-src-0.4
(package
(name "rust-sqlite3-src")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 30/39] gnu: Add rust-pciid-parser-0.6.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (28 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 29/39] gnu: Add rust-sqlite-0.27 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 31/39] gnu: Add rust-os-release-0.1 Jaeme Sifat via Guix-patches via
` (10 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-pciid-parser-0.6): New variable.
Change-Id: I01091dc6ebc2358e108f113317c0bee70c8c9376
---
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 ec51495292..7902c9ed1d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -49763,6 +49763,30 @@ (define-public rust-pcap-sys-0.1
library.")
(license license:expat)))
+(define-public rust-pciid-parser-0.6
+ (package
+ (name "rust-pciid-parser")
+ (version "0.6.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pciid-parser" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0d6pliaab6xs2m1vnialy1biaw3nv6g9s0ykdrracx2a5h1p4jdd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f
+ #:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-tracing" ,rust-tracing-0.1)
+ ("rust-ureq" ,rust-ureq-2))
+ #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)
+ ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.3))))
+ (home-page "https://github.com/ilyazzz/pci-id-parser")
+ (synopsis "A library for parsing PCI ID tables")
+ (description "This package provides a library for parsing PCI ID tables.")
+ (license license:expat)))
+
(define-public rust-pcre2-0.2
(package
(name "rust-pcre2")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 31/39] gnu: Add rust-os-release-0.1.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (29 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 30/39] gnu: Add rust-pciid-parser-0.6 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 32/39] gnu: rust-mach-0.3: Update to 0.3.2 Jaeme Sifat via Guix-patches via
` (9 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-os-release-0.1): New variable.
Change-Id: Ibdcbb14e7544270f99e06df90f3c65fe6cc5eaf2
---
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 7902c9ed1d..e78d755585 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47808,6 +47808,26 @@ (define-public rust-os-pipe-0.5
("rust-nix" ,rust-nix-0.8)
("rust-winapi" ,rust-winapi-0.2))))))
+(define-public rust-os-release-0.1
+ (package
+ (name "rust-os-release")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "os-release" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09zckcazggm33cbhjgdajm8rg41x9y75yf13rhcyqlqvyzi9mwl2"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-lazy-static" ,rust-lazy-static-1))))
+ (home-page "https://github.com/pop-os/os-release")
+ (synopsis "Parse @code{/etc/os-release} files on Linux distributions")
+ (description "This package provides parsing @code{/etc/os-release} files
+on Linux distributions.")
+ (license license:expat)))
+
(define-public rust-os-str-bytes-6
(package
(name "rust-os-str-bytes")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 32/39] gnu: rust-mach-0.3: Update to 0.3.2.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (30 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 31/39] gnu: Add rust-os-release-0.1 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 33/39] gnu: Add rust-neli-0.5 Jaeme Sifat via Guix-patches via
` (8 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-mach-0.3): Update to 0.3.2.
Change-Id: I34ba0dc332677ea8cf83dc5b4fb1c2d0c993cde5
---
gnu/packages/crates-io.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e78d755585..796af75447 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39524,14 +39524,14 @@ (define-public rust-mac-0.1
(define-public rust-mach-0.3
(package
(name "rust-mach")
- (version "0.3.0")
+ (version "0.3.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "mach" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "0a895rhg3a1l3ws4qf83s5mx0g29v1fzgjmbag1h36v62hmg1vi8"))))
+ (base32 "1yksa8lwzqh150gr4417rls1wk20asy9vhp8kq5g9n7z58xyh8xq"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 33/39] gnu: Add rust-neli-0.5.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (31 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 32/39] gnu: rust-mach-0.3: Update to 0.3.2 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 34/39] gnu: Add rust-local-ip-address-0.4 Jaeme Sifat via Guix-patches via
` (7 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-neli-0.5): New variable.
Change-Id: I074c250c39d9886e2afd19485090b7c61ab08f8d
---
gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++----------
1 file changed, 29 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 796af75447..0af094383b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -43665,32 +43665,51 @@ (define-public rust-needletail-0.4
processing library for Rust.")
(license license:expat)))
-(define-public rust-neli-0.4
+(define-public rust-neli-0.5
(package
(name "rust-neli")
- (version "0.4.4")
+ (version "0.5.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "neli" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1lxnns9vfrsiwksscjgr7yvgpc5658lw07d745ir37r5pn19fpp8"))))
+ (base32 "020m4axf6dd05i9l3lyhspp71s5xcmlj1cfskh6y3dywnm75alwh"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-buffering" ,rust-buffering-0.4)
- ("rust-byteorder" ,rust-byteorder-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-mio" ,rust-mio-0.6)
- ("rust-tokio" ,rust-tokio-0.1))))
+ `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-simple-logger" ,rust-simple-logger-1)
+ ("rust-tokio" ,rust-tokio-1))))
(home-page "https://github.com/jbaublitz/neli")
(synopsis "Type safe netlink library written in Rust")
(description
"This crate is a type safe netlink library written in Rust.")
(license license:bsd-3)))
+(define-public rust-neli-0.4
+ (package
+ (inherit rust-neli-0.5)
+ (name "rust-neli")
+ (version "0.4.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "neli" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lxnns9vfrsiwksscjgr7yvgpc5658lw07d745ir37r5pn19fpp8"))))
+ (arguments
+ `(#:cargo-inputs (("rust-buffering" ,rust-buffering-0.4)
+ ("rust-byteorder" ,rust-byteorder-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-mio" ,rust-mio-0.6)
+ ("rust-tokio" ,rust-tokio-0.1))))))
+
(define-public rust-neso-0.5
(package
(name "rust-neso")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 34/39] gnu: Add rust-local-ip-address-0.4.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (32 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 33/39] gnu: Add rust-neli-0.5 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 35/39] gnu: Add rust-libmacchina-6 Jaeme Sifat via Guix-patches via
` (6 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-local-ip-address-0.4): New variable.
Change-Id: I8e6d544858d6e3adc72eebdbb38730c1e1acd6be
---
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 0af094383b..1e2f72f543 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38791,6 +38791,33 @@ (define-public rust-locale-config-0.3
by inspecting the system for user preference.")
(license license:expat)))
+(define-public rust-local-ip-address-0.4
+ (package
+ (name "rust-local-ip-address")
+ (version "0.4.9")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "local-ip-address" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xc88i6v43rx5f5im0zadd8nl3k7wvf2lv351q20d05h5w4pzawy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; Integration test with local IP address.
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-neli" ,rust-neli-0.5)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.42))))
+ (home-page "https://github.com/EstebanBorai/local-ip-address")
+ (synopsis
+ "Retrieve system's local IP address and network interfaces/adapters on
+Linux")
+ (description
+ "This package provides retrieving the system's local IP address and
+network interfaces/adapters on Linux.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-lock-api-0.4
(package
(name "rust-lock-api")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 35/39] gnu: Add rust-libmacchina-6.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (33 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 34/39] gnu: Add rust-local-ip-address-0.4 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 36/39] gnu: Add rust-color-to-tui-0.2 Jaeme Sifat via Guix-patches via
` (5 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-libmacchina-6): New variable.
Change-Id: If8a56fd809ae8a26bb3b639156f55edb5d75ac66
---
gnu/packages/crates-io.scm | 47 ++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1e2f72f543..29b56baeef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37462,6 +37462,53 @@ (define-public rust-libm-0.1
(base32
"16pc0gx4gkg0q2s1ssq8268brn14j8344623vwhadmivc4lsmivz"))))))
+(define-public rust-libmacchina-6
+ (package
+ (name "rust-libmacchina")
+ (version "6.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libmacchina" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0ag3dy24a1hs5926a7131v66j75cmgszmrhkq9z9p2c81fi6v2dn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags `("--"
+ "--skip=extra::tests::test_which")
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-core-foundation" ,rust-core-foundation-0.9)
+ ("rust-core-graphics" ,rust-core-graphics-0.22)
+ ("rust-core-video-sys" ,rust-core-video-sys-0.1)
+ ("rust-dirs" ,rust-dirs-4)
+ ("rust-home" ,rust-home-0.5)
+ ("rust-if-addrs" ,rust-if-addrs-0.6)
+ ("rust-itertools" ,rust-itertools-0.10)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-local-ip-address" ,rust-local-ip-address-0.4)
+ ("rust-mach" ,rust-mach-0.3)
+ ("rust-nix" ,rust-nix-0.24)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-os-release" ,rust-os-release-0.1)
+ ("rust-pciid-parser" ,rust-pciid-parser-0.6)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-sqlite" ,rust-sqlite-0.27)
+ ("rust-sysctl" ,rust-sysctl-0.4)
+ ("rust-vergen" ,rust-vergen-7)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-windows" ,rust-windows-0.39)
+ ("rust-winreg" ,rust-winreg-0.10)
+ ("rust-wmi" ,rust-wmi-0.12)
+ ("rust-x11rb" ,rust-x11rb-0.10))))
+ (home-page "https://github.com/Macchina-CLI/libmacchina")
+ (synopsis "Library that can fetch all sorts of system information")
+ (description
+ "This package provides a library that can fetch all sorts of system
+information.")
+ (license license:expat)))
+
(define-public rust-libmimalloc-sys-0.1
(package
(name "rust-libmimalloc-sys")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 36/39] gnu: Add rust-color-to-tui-0.2.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (34 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 35/39] gnu: Add rust-libmacchina-6 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 37/39] gnu: Add rust-ansi-to-tui-2 Jaeme Sifat via Guix-patches via
` (4 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-io.scm (rust-color-to-tui-0.2): New variable.
Change-Id: I52acf3bfebef4b9512b555e02e5a78a845cf9ee0
---
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 29b56baeef..6e71b1f3df 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14071,6 +14071,30 @@ (define-public rust-colored-1
(base32
"0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))))
+(define-public rust-color-to-tui-0.2
+ (package
+ (name "rust-color-to-tui")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "color-to-tui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k3vyp2fl0lcqs8iwssv56562kag6ljqaixirrci77ydmcq3zi0s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-tui" ,rust-tui-0.16))
+ #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://git.uttarayan.me/uttarayan/color-to-tui")
+ (synopsis
+ "Parse colors and convert them to @code{ratatui::style::Colors}")
+ (description
+ "This package provides parsing colors and converting them to
+@code{ratatui::style::Colors}.")
+ (license license:expat)))
+
(define-public rust-combine-4
(package
(name "rust-combine")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 37/39] gnu: Add rust-ansi-to-tui-2.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (35 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 36/39] gnu: Add rust-color-to-tui-0.2 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 38/39] gnu: Add macchina Jaeme Sifat via Guix-patches via
` (3 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
These crates should be placed in (crates-graphics) as they deal with terminal
graphics.
* gnu/packages/crates-graphics.scm (rust-ansi-to-tui-2): New variable.
Change-Id: I3eb91a0ce8c66a911eaab5946e6b085ac0de8b96
---
gnu/packages/crates-graphics.scm | 51 ++++++++++++++++++++++++++++++++
gnu/packages/crates-io.scm | 24 ---------------
2 files changed, 51 insertions(+), 24 deletions(-)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 22b77121e9..dd0864a6bd 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -198,6 +198,33 @@ (define-public rust-ansi-term-0.9
"1xif1bh938qpfc3d0f9xgidibpm65xix11w9gszwqnia00q7rb13"))))
(arguments `())))
+(define-public rust-ansi-to-tui-2
+ (package
+ (name "rust-ansi-to-tui")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ansi-to-tui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l43nyj2difngwjbiy6vd5p8bw96w06swgw5hx6vi9zvqzs8wyqm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-nom" ,rust-nom-7)
+ ("rust-simdutf8" ,rust-simdutf8-0.1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-tui" ,rust-tui-0.16))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1))))
+ (home-page "https://github.com/uttarayan21/ansi-to-tui")
+ (synopsis
+ "Library to convert ansi color coded text into @code{ratatui::text::Text}
+type from the ratatui library")
+ (description
+ "This package provides a library to convert ansi color coded text into
+@code{ratatui::text::Text} type from the ratatui library.")
+ (license license:expat)))
+
(define-public rust-aom-sys-0.3
(package
(name "rust-aom-sys")
@@ -470,6 +497,30 @@ (define-public rust-cgmath-0.16
(;("rust-glium" ,rust-glium-0.19)
("rust-serde-json" ,rust-serde-json-1))))))
+(define-public rust-color-to-tui-0.2
+ (package
+ (name "rust-color-to-tui")
+ (version "0.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "color-to-tui" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k3vyp2fl0lcqs8iwssv56562kag6ljqaixirrci77ydmcq3zi0s"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
+ ("rust-tui" ,rust-tui-0.16))
+ #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
+ (home-page "https://git.uttarayan.me/uttarayan/color-to-tui")
+ (synopsis
+ "Parse colors and convert them to @code{ratatui::style::Colors}")
+ (description
+ "This package provides parsing colors and converting them to
+@code{ratatui::style::Colors}.")
+ (license license:expat)))
+
(define-public rust-core-graphics-0.22
(package
(name "rust-core-graphics")
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e71b1f3df..29b56baeef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14071,30 +14071,6 @@ (define-public rust-colored-1
(base32
"0nbc1czs512h1k696y7glv1kjrb2b914zpxraic6q5fgv80wizzl"))))))
-(define-public rust-color-to-tui-0.2
- (package
- (name "rust-color-to-tui")
- (version "0.2.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "color-to-tui" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1k3vyp2fl0lcqs8iwssv56562kag6ljqaixirrci77ydmcq3zi0s"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-serde" ,rust-serde-1)
- ("rust-tui" ,rust-tui-0.16))
- #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1))))
- (home-page "https://git.uttarayan.me/uttarayan/color-to-tui")
- (synopsis
- "Parse colors and convert them to @code{ratatui::style::Colors}")
- (description
- "This package provides parsing colors and converting them to
-@code{ratatui::style::Colors}.")
- (license license:expat)))
-
(define-public rust-combine-4
(package
(name "rust-combine")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 38/39] gnu: Add macchina.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (36 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 37/39] gnu: Add rust-ansi-to-tui-2 Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 2:52 ` [bug#66842] [PATCH 39/39] gnu: Update copyright header Jaeme Sifat via Guix-patches via
` (2 subsequent siblings)
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
macchine is a system info fetcher similar to neofetch. It's main appeal is
being blazingly fast as well as being configured through a toml file rather
than a shell script.
* gnu/packages/rust-apps.scm (macchina): New variable.
Change-Id: I2d054e770cb23ccb92a3824739858f39d3f5b467
---
gnu/packages/rust-apps.scm | 50 ++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index a06447143a..c6cdb31704 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -835,6 +835,56 @@ (define-public just
@code{just} is a handy way to save and run project-specific commands.")
(license license:cc0)))
+(define-public macchina
+ (package
+ (name "macchina")
+ (version "6.1.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "macchina" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "044bygdazv8l1d5sf7pxn2xp26pmnx2b65122qzb37m1ylb1ksg6"))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs `(("rust-ansi-to-tui" ,rust-ansi-to-tui-2)
+ ("rust-atty" ,rust-atty-0.2)
+ ("rust-bytesize" ,rust-bytesize-1)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-color-to-tui" ,rust-color-to-tui-0.2)
+ ("rust-colored" ,rust-colored-2)
+ ("rust-dirs" ,rust-dirs-4)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libmacchina" ,rust-libmacchina-6)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-shellexpand" ,rust-shellexpand-3)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-toml" ,rust-toml-0.5)
+ ("rust-tui" ,rust-tui-0.19)
+ ("rust-unicode-width" ,rust-unicode-width-0.1)
+ ("rust-vergen" ,rust-vergen-7))
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'install 'install-extras
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (share (string-append out "/share"))
+ (contrib (string-append share "/contrib")))
+ (mkdir-p contrib)
+ (copy-recursively "contrib" contrib)))))))
+ (native-inputs (list pkg-config))
+ (inputs (list libgit2 zlib))
+ (home-page "https://github.com/Macchina-CLI/macchina")
+ (synopsis "System information fetcher with an emphasis on performance")
+ (description
+ "This package provides a system information fetcher with an emphasis on
+performance. Similar to neofetch, this package prints out system information
+on the terminal in a visually appealing way.")
+ (license license:expat)))
+
(define-public maturin
(package
(name "maturin")
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 39/39] gnu: Update copyright header.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (37 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 38/39] gnu: Add macchina Jaeme Sifat via Guix-patches via
@ 2023-10-31 2:52 ` Jaeme Sifat via Guix-patches via
2023-10-31 3:06 ` [bug#66842] [PATCH vREVISION] gnu: macchina: Remove source installation Jaeme Sifat via Guix-patches via
2023-12-21 9:28 ` [bug#66842] [PATCH 00/39] Add macchina Efraim Flashner
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 2:52 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/crates-graphics.scm: Update copyright header.
* gnu/packages/crates-io.scm: Update copyright header.
* gnu/packages/rust-apps.scm: Update copyright header.
Change-Id: I5716f9ced62bcbac5c33f7058dc0a4e13e4fa5a1
---
gnu/packages/crates-graphics.scm | 1 +
gnu/packages/crates-io.scm | 1 +
gnu/packages/rust-apps.scm | 1 +
3 files changed, 3 insertions(+)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index dd0864a6bd..78d6df7df4 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -13,6 +13,7 @@
;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2021 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2022 Marius Bakke <marius@gnu.org>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;;
;;; This file is part of GNU Guix.
;;;
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 29b56baeef..ef5cb21c99 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -33,6 +33,7 @@
;;; Copyright © 2022 Paul Alesius <paul@unnservice.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;;
;;; This file is part of GNU Guix.
;;;
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index c6cdb31704..60fb11017a 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -25,6 +25,7 @@
;;; Copyright © 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2023 Arnav Andrew Jose <arnav.jose@gmail.com>
;;; Copyright © 2023 Wilko Meyer <w@wmeyer.eu>
+;;; Copyright © 2023 Jaeme Sifat <jaeme@runbox.com>
;;;
;;; This file is part of GNU Guix.
;;;
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH vREVISION] gnu: macchina: Remove source installation.
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (38 preceding siblings ...)
2023-10-31 2:52 ` [bug#66842] [PATCH 39/39] gnu: Update copyright header Jaeme Sifat via Guix-patches via
@ 2023-10-31 3:06 ` Jaeme Sifat via Guix-patches via
2023-12-21 9:28 ` [bug#66842] [PATCH 00/39] Add macchina Efraim Flashner
40 siblings, 0 replies; 42+ messages in thread
From: Jaeme Sifat via Guix-patches via @ 2023-10-31 3:06 UTC (permalink / raw)
To: 66842; +Cc: Jaeme Sifat
* gnu/packages/rust-apps.scm (macchina): Remove source installation.
[arguments]: Add #:install-source? #f.
Change-Id: If7c3faaefbbbc6d3dd6d25baefee4bed28fd64b3
---
gnu/packages/rust-apps.scm | 1 +
1 file changed, 1 insertion(+)
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 60fb11017a..0c538ea313 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -850,6 +850,7 @@ (define-public macchina
(build-system cargo-build-system)
(arguments
(list
+ #:install-source? #f
#:cargo-inputs `(("rust-ansi-to-tui" ,rust-ansi-to-tui-2)
("rust-atty" ,rust-atty-0.2)
("rust-bytesize" ,rust-bytesize-1)
base-commit: b71c7c472a0a56c6935b4fa2a2e9c78d8ac8ea27
prerequisite-patch-id: f6f5d59b092f6907eebfec99a8e11781b3d12293
prerequisite-patch-id: 0b1477eba1de5d019ac6e4a4f468210d34048f8a
prerequisite-patch-id: 4bb7703a51fa36cb804b627b57ce07eee9b648b3
prerequisite-patch-id: 535cdc3b912b3df9aacf905500f62d9e0fda138e
prerequisite-patch-id: fd5e570c352084a152ea8e20669e53b172137298
prerequisite-patch-id: f09c555de8076488e9e70cd3610598047087bf91
prerequisite-patch-id: e5edb97ba40a910c146bb8de0e826630fb5e3032
prerequisite-patch-id: 73ca65fffb097dcdfb358bfa91b3bc83e9d13000
prerequisite-patch-id: 185e33e57221f033c390097d77831448ac026530
prerequisite-patch-id: 81928ac7e4d43a7301fb7ee05f93f78269874c98
prerequisite-patch-id: 2feb7b4c5a04e5d88f57b7222cb8c28c4862437d
prerequisite-patch-id: 8f1c8814ba61355851fd2e835a170b31716e7f26
prerequisite-patch-id: d75fbecd3aee07ba173f2f9cbc8e52113712f1f1
prerequisite-patch-id: 8ae2529a6c2c517fdcfe87cf1a90536e8d5ae2aa
prerequisite-patch-id: 45bae7c93ba4a4bc59c8b56a472a61867d1243d7
prerequisite-patch-id: 2f009d3c8e555d13c8bf66a1cba62c4909f406bf
prerequisite-patch-id: c573e729370bb2b76ee2ad885c5809362a9773ba
prerequisite-patch-id: 95fa347809ee24f62d10ae3ced82ae0eb73fc4d8
prerequisite-patch-id: 4b1c5eb81711f7d7c087724dd9d6572131e60c14
prerequisite-patch-id: 2787f841a663011ba1f23ef5e375f0da5324777a
prerequisite-patch-id: 3066df645ed359006d61e1a181ff61349a737295
prerequisite-patch-id: e4619bac3486bdd58183217a1d3187059318aec2
prerequisite-patch-id: 11674773f58e33e3ce4f65175edea675a68cfbd5
prerequisite-patch-id: dc4d0cd20ec18423fbb98ef2075bcc9ba8596e8e
prerequisite-patch-id: 629a1827c71d25cafffe750e1c4fde93c898ff4f
prerequisite-patch-id: 65b10ca01203e012d96f6e5e437761f70a854aac
prerequisite-patch-id: 6e4413864d0b09cfb6956e1cf7ddd206489c23d6
prerequisite-patch-id: 9017892e8d9817d44a75b8855e8401272884e061
prerequisite-patch-id: 029f3301dc5367fd04bfb0bf96ff723f263b1200
prerequisite-patch-id: 07fba137223ac3bfc1a4768a562f4a548519045e
prerequisite-patch-id: 2d49dea0ba731623205b32e21b0193cc1ccee89c
prerequisite-patch-id: b52e79257200f6cc2c6bd177efe6d33292c1ca16
prerequisite-patch-id: 9ad085206512227f3d3f9288d91c127f082e52c4
prerequisite-patch-id: a92345701ad19caaf6d6fe3771f6fb074fd93868
prerequisite-patch-id: e921e88143eb12b1979c8aa4611418a5d8c90bb2
prerequisite-patch-id: 2fe67ac6b0f952f4851c16e26acb4fea9e088ec6
prerequisite-patch-id: 49ac64fa0885a32ef7e166b64fcc2c5442ab8ef5
prerequisite-patch-id: c1bfb3a8493a59d99f57852acad4bbadd341537b
prerequisite-patch-id: aa8024e7a13f0e696a0b86757e05b3b200965330
--
2.34.1
^ permalink raw reply related [flat|nested] 42+ messages in thread
* [bug#66842] [PATCH 00/39] Add macchina
2023-10-31 2:49 [bug#66842] [PATCH 00/39] Add macchina Jaeme Sifat via Guix-patches via
` (39 preceding siblings ...)
2023-10-31 3:06 ` [bug#66842] [PATCH vREVISION] gnu: macchina: Remove source installation Jaeme Sifat via Guix-patches via
@ 2023-12-21 9:28 ` Efraim Flashner
40 siblings, 0 replies; 42+ messages in thread
From: Efraim Flashner @ 2023-12-21 9:28 UTC (permalink / raw)
To: Jaeme Sifat; +Cc: 66842-done
[-- Attachment #1: Type: text/plain, Size: 280 bytes --]
Thanks for the patches! I've pushed them to the rust-team branch.
--
Efraim Flashner <efraim@flashner.co.il> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 42+ messages in thread