[PATCH 00/91] Add Mission Center and its dependencies

  • Open
  • quality assurance status badge
Details
4 participants
  • Greg Hogan
  • Efraim Flashner
  • Sergio Pastor Pérez
  • Steve George
Owner
unassigned
Submitted by
Sergio Pastor Pérez
Severity
normal
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 21:23
(address . guix-patches@gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132E7C90FD1F7CD473E8D62F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
Good evening!

After some time I've managed to package Mission Center[1] and its
dependencies. The dependency tree turned out to be massive *cries on rust*.

I've decided to package this as an example on how to build a rust application
which relies on the meson build system, I believe as of the time of writing we
don't have any.

Most of the dependencies are rust related. In order to alleviate the load on
the rust-team I've tried to avoid, wherever possible, the use of flags such as
`#:skip-build? #t` or `#:tests? #f`. I also ensured that the different
additions updated older versions with the appropriate inherit keyword.

You would notice that in order to package `mission-center`, some ugly hacks
where required. Hacks such as providing the sources of `nvtop-src`. The
application uses some of those source files to build certain internal modules.

Also, I could not find any appropriate way of packaging `pathfinder` with our
current rust build system. This package is problematic since its a
multi-workspace rust repository, where each module is interdependent with each
other.

All quirks aside, I think It would be nice to have Mission Center in Guix
since It's usually distributed as a Flatpack and serves as an example on how
to package a piece of software with such an esoteric build.

Thanks,
Sergio.


Sergio Pastor Pérez (91):
gnu: Add blueprint-compiler-next.
gnu: Add rust-glib-sys-0.18.
gnu: Add rust-gobject-sys-0.18.
gnu: Add rust-gio-sys-0.18.
gnu: Add rust-glib-macros-0.18.
gnu: Add rust-glib-0.18.
gnu: Add rust-gio-0.18.
gnu: Add rust-gdk-pixbuf-sys-0.18.
gnu: Add rust-gdk-pixbuf-0.18.
gnu: Add rust-graphene-sys-0.18.
gnu: Add rust-graphene-rs-0.18.
gnu: Add rust-gl-loader-0.1.
gnu: Add rust-pango-sys-0.18.
gnu: Add rust-pango-0.18.
gnu: Add rust-const-random-macro-0.1.15.
gnu: Add rust-const-random-0.1.15.
gnu: Add rust-proc-status-0.1.
gnu: Add rust-ordermap-0.2.
gnu: Add rust-quick-xml-0.30.
gnu: Add rust-rstest-macros-0.17.
gnu: Add rust-spinning-0.1.
gnu: Add rust-to-method-1.
gnu: Add rust-rustc-hash-1.0.
gnu: Add rust-rstest-0.17.
gnu: Add rust-minimad-0.12.
gnu: Add rust-minidl-0.1.
gnu: Add rust-libudev-sys-0.1.
gnu: Add rust-byte-slice-cast-0.3.
gnu: Add rust-file-size-1.
gnu: Add rust-assert2-macros-0.3.
gnu: Add rust-cli-log-2.
gnu: Add rust-assert2-0.3.
gnu: Add rust-coverage-helper-0.1.
gnu: Add rust-dlv-list-0.5.
gnu: Add rust-errno-sys-0.1.
gnu: Add rust-libc-0.1.
gnu: Add rust-khronos-0.1.
gnu: Add rust-hashbrown-0.7.
gnu: Add rust-egl-0.2.
gnu: Add rust-ordered-multimap-0.6.
gnu: Add rust-dlib-0.5.1.
gnu: Add rust-wayland-sys-0.31.
gnu: Add rust-wayland-backend-0.1.3.
gnu: Add rust-textdistance-1.
gnu: Add rust-rust-ini-0.19.
gnu: Add rust-coolor-0.5.0.
gnu: Add rust-deser-hjson-1.
gnu: Add rust-crokey-proc-macros-0.4.
gnu: Add rust-crokey-0.4.
gnu: Add rust-xcb-0.10.
gnu: Add rust-x11-clipboard-0.5.3.
gnu: Add rust-termux-clipboard-0.1.
gnu: Add rust-terminal-clipboard-0.3.
gnu: Add rust-termimad-0.23.
gnu: Add rust-core-affinity-0.8.
gnu: Add rust-raw-sync-0.1.
gnu: Add rust-raw-cpuid-11.
gnu: Add rust-drm-fourcc-2.
gnu: Add rust-drm-sys-0.4.
gnu: Add rust-drm-ffi-0.5.
gnu: Add rust-drm-0.9.
gnu: Add rust-intmap-0.7.
gnu: Add rust-interprocess-1.
gnu: Add rust-rustbus-derive-0.5.
gnu: Add rust-rustbus-0.19.
gnu: Add rust-windows-x86-64-msvc-0.34.
gnu: Add rust-windows-x86-64-gnu-0.34.
gnu: Add rust-windows-tokens-0.34.
gnu: Add rust-windows-interface-0.34.
gnu: Add rust-windows-implement-0.34.
gnu: Add rust-windows-i686-msvc-0.34.
gnu: Add rust-windows-i686-gnu-0.34.
gnu: Add rust-windows-aarch64-msvc-0.34.
gnu: Add rust-windows-0.34.
gnu: Add rust-win-sys-0.3.
gnu: Add rust-shared-memory-extended-0.13.
gnu: Add rust-sysinfo-0.29.
gnu: Add rust-cairo-sys-rs-0.18.
gnu: Add rust-cairo-rs-0.18.
gnu: Add rust-gbm-sys-0.2.
gnu: Add rust-gbm-0.12.
gnu: Add rust-gdk4-sys-0.7.
gnu: Add rust-gdk4-0.7.
gnu: Add rust-gsk4-sys-0.7.
gnu: Add rust-gsk4-0.7.
gnu: Add rust-gtk4-sys-0.7.
gnu: Add rust-gtk4-macros-0.7.
gnu: Add rust-gtk4-0.7.
gnu: Add rust-libadwaita-sys-0.5.
gnu: Add rust-libadwaita-0.5.
gnu: Add mission-center.

gnu/packages/crates-graphics.scm | 419 ++++-
gnu/packages/crates-gtk.scm | 556 ++++++-
gnu/packages/crates-io.scm | 1390 +++++++++++++++--
gnu/packages/gnome.scm | 19 +
.../patches/mission-center-gatherer.patch | 21 +
gnu/packages/rust-apps.scm | 173 ++
6 files changed, 2373 insertions(+), 205 deletions(-)
create mode 100644 gnu/packages/patches/mission-center-gatherer.patch


base-commit: e21f0cb7b7a87992004193cd56638ad961fe5928
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 01/91] gnu: Add blueprint-compiler-next.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21327F5E8657DB360816CECAF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/gnome.scm (blueprint-compiler-next): New variable.

Change-Id: I6f2e69c33ac99b0bab4e38b6f4d1a9c068127d2e
---
gnu/packages/gnome.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm
index d354327497..bbae946ec6 100644
--- a/gnu/packages/gnome.scm
+++ b/gnu/packages/gnome.scm
@@ -3282,6 +3282,25 @@ (define-public blueprint-compiler
(home-page "https://gitlab.gnome.org/jwestman/blueprint-compiler")
(license license:lgpl3+)))
+(define-public blueprint-compiler-next
+ (package
+ (inherit blueprint-compiler)
+ (name "blueprint-compiler")
+ (version "0.10.0")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://gitlab.gnome.org/jwestman/blueprint-compiler")
+ (commit (string-append "v" version))))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "0g3rk9rkl92phhjam3b17pw8l0r482jh7zs8wxz87wq3c9rx1ym4"))))
+ (arguments (cons*
+ #:tests? #f
+ (package-arguments blueprint-compiler)))))
+
(define-public cambalache
(package
(name "cambalache")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 02/91] gnu: Add rust-glib-sys-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213263083F6FA20072B76353F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-glib-sys-0.18): New variable.

Change-Id: Idd194b6771e5e5f953c3537c5672945b6c9e6fcc
---
gnu/packages/crates-gtk.scm | 37 ++++++++++++++++++++++++-------------
1 file changed, 24 insertions(+), 13 deletions(-)

Toggle diff (64 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 266a513dc2..0449902a2a 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1466,17 +1466,17 @@ (define-public rust-glib-macros-0.10
("rust-quote" ,rust-quote-1)
("rust-syn" ,rust-syn-1))))))
-(define-public rust-glib-sys-0.17
+(define-public rust-glib-sys-0.18
(package
(name "rust-glib-sys")
- (version "0.17.10")
- (source (origin
- (method url-fetch)
- (uri (crate-uri "glib-sys" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32
- "1w64ppa12s9ky6gfdaqhq9w30ad6hskll812jb3sl2xsggmac2nq"))))
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "164qhsfmlzd5mhyxs8123jzbdfldwxbikfpq5cysj3lddbmy4g06"))))
(build-system cargo-build-system)
(arguments
`(;; XXX: Tests are sensitive to the version of glib, even though
@@ -1488,15 +1488,26 @@ (define-public rust-glib-sys-0.17
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
+ (native-inputs (list pkg-config glib))
+ (inputs (list glib))
(home-page "https://gtk-rs.org/")
(synopsis "FFI bindings to libglib-2.0")
(description "This package provides FFI bindings to libglib-2.0.")
(license license:expat)))
+(define-public rust-glib-sys-0.17
+ (package
+ (inherit rust-glib-sys-0.18)
+ (name "rust-glib-sys")
+ (version "0.17.10")
+ (source (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1w64ppa12s9ky6gfdaqhq9w30ad6hskll812jb3sl2xsggmac2nq"))))))
+
(define-public rust-glib-sys-0.15
(package
(inherit rust-glib-sys-0.17)
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 03/91] gnu: Add rust-gobject-sys-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132D4106B7675986B9CE1FAF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gobject-sys-0.18): New variable.

Change-Id: Id5ba73cfa2071c712d4e6a3f8b5f464ce6ed243f
---
gnu/packages/crates-gtk.scm | 40 +++++++++++++++++++++++++++----------
1 file changed, 30 insertions(+), 10 deletions(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 0449902a2a..d8d223aa37 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1598,8 +1598,37 @@ (define-public rust-glib-sys-0.9
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gobject-sys-0.18
+ (package
+ (name "rust-gobject-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gobject-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0i6fhp3m6vs3wkzyc22rk2cqj68qvgddxmpaai34l72da5xi4l08"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `G_TYPE_FUNDAMENTAL_MAX` constant mismatch with gcc
+ #:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgobject-2.0")
+ (description "This package provides FFI bindings to libgobject-2.0.")
+ (license license:expat)))
+
(define-public rust-gobject-sys-0.17
(package
+ (inherit rust-gobject-sys-0.18)
(name "rust-gobject-sys")
(version "0.17.10")
(source (origin
@@ -1609,7 +1638,6 @@ (define-public rust-gobject-sys-0.17
(sha256
(base32
"0ql0pcab6dxjapiglxcjaavbbh1sznyc2wj5q273b9j0fwqw6d6d"))))
- (build-system cargo-build-system)
(arguments
`(;; XXX: Tests are sensitive to the version of glib, even though
;; the library supports a wide range. Skip for now.
@@ -1620,15 +1648,7 @@ (define-public rust-gobject-sys-0.17
("rust-system-deps" ,rust-system-deps-6))
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-1)
- ("rust-tempfile" ,rust-tempfile-3))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgobject-2.0")
- (description "This package provides FFI bindings to libgobject-2.0.")
- (license license:expat)))
+ ("rust-tempfile" ,rust-tempfile-3))))))
(define-public rust-gobject-sys-0.15
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 07/91] gnu: Add rust-gio-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132D4740A957EA13A783C65F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gio-0.18): New variable.

Change-Id: Iea32a91f484f73dbdcf12d877c45af7944bab398
---
gnu/packages/crates-gtk.scm | 49 +++++++++++++++++++++++++++++--------
1 file changed, 39 insertions(+), 10 deletions(-)

Toggle diff (78 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 9de8de3cba..87006b65e1 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -860,8 +860,46 @@ (define-public rust-gdk-sys-0.9
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-gio-0.18
+ (package
+ (name "rust-gio")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1caryyr1sciqd25np4v4701nkb7h59gqzpwaiqjrp6g5x222y1ap"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs
+ (("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gio-sys" ,rust-gio-sys-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-serial-test" ,rust-serial-test-1))))
+ (native-inputs (list pkg-config glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Gio library")
+ (description "Rust bindings for the Gio library")
+ (license license:expat)))
+
(define-public rust-gio-0.17
(package
+ (inherit rust-gio-0.18)
(name "rust-gio")
(version "0.17.10")
(source
@@ -871,7 +909,6 @@ (define-public rust-gio-0.17
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "02nkqpq1a6ikzhv5x4nyfvzx8zk5dkjsjm50ns4qdybwjf93x5x6"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
#:cargo-inputs
@@ -891,15 +928,7 @@ (define-public rust-gio-0.17
(("rust-futures" ,rust-futures-0.3)
("rust-futures-util" ,rust-futures-util-0.3)
("rust-gir-format-check" ,rust-gir-format-check-0.1)
- ("rust-serial-test" ,rust-serial-test-1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the Gio library")
- (description "Rust bindings for the Gio library")
- (license license:expat)))
+ ("rust-serial-test" ,rust-serial-test-1))))))
(define-public rust-gio-0.15
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 05/91] gnu: Add rust-glib-macros-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213234AE4C5BFDBE0FABF421F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-glib-macros-0.18): New variable.

Change-Id: I3c2db0ae70ccd67b1b09ad6dbb0b62ca00634a2e
---
gnu/packages/crates-gtk.scm | 43 ++++++++++++++++++++++++++++---------
1 file changed, 33 insertions(+), 10 deletions(-)

Toggle diff (72 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 53bb539c80..cab580bca6 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1390,8 +1390,40 @@ (define-public rust-glib-0.9
#:cargo-development-inputs
(("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-glib-macros-0.18
+ (package
+ (name "rust-glib-macros")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0iqyzyarmgvm2jlfglrpqkpmsialy7y571jic0ix8dmi48w91npq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-heck" ,rust-heck-0.4)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-2))
+ #:cargo-development-inputs
+ (("rust-glib" ,rust-glib-0.18)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-trybuild2" ,rust-trybuild2-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GLib library, proc macros crate")
+ (description "Rust bindings for the GLib library, proc macros crate.")
+ (license license:expat)))
+
(define-public rust-glib-macros-0.17
(package
+ (inherit rust-glib-macros-0.18)
(name "rust-glib-macros")
(version "0.17.10")
(source (origin
@@ -1401,7 +1433,6 @@ (define-public rust-glib-macros-0.17
(sha256
(base32
"09nyh22nryip4i22mdrixzl4q0r5h5lxcn40mgqr30rk6y9wg9gc"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-anyhow" ,rust-anyhow-1)
@@ -1414,15 +1445,7 @@ (define-public rust-glib-macros-0.17
#:cargo-development-inputs
(("rust-glib" ,rust-glib-0.17)
("rust-once-cell" ,rust-once-cell-1)
- ("rust-trybuild2" ,rust-trybuild2-1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GLib library, proc macros crate")
- (description "Rust bindings for the GLib library, proc macros crate.")
- (license license:expat)))
+ ("rust-trybuild2" ,rust-trybuild2-1))))))
(define-public rust-glib-macros-0.15
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 08/91] gnu: Add rust-gdk-pixbuf-sys-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21323B0D49A2A965B6CA53A8F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-sys-0.18): New variable.

Change-Id: I0311b1ccffdb5efa408e2ab6c34ab2220827db35
---
gnu/packages/crates-gtk.scm | 39 +++++++++++++++++++++++++++++--------
1 file changed, 31 insertions(+), 8 deletions(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 87006b65e1..4f844ed6a6 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -641,8 +641,38 @@ (define-public rust-gdk-pixbuf-0.8
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-sys-0.18
+ (package
+ (name "rust-gdk-pixbuf-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xya543c4ffd2n7aiwwrdxsyc9casdbasafi6ixcknafckm3k61z"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-gio-sys" ,rust-gio-sys-0.18)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (native-inputs (list pkg-config))
+ (inputs (list gdk-pixbuf gtk+))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgdk_pixbuf-2.0")
+ (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
+ (license license:expat)))
+
(define-public rust-gdk-pixbuf-sys-0.17
(package
+ (inherit rust-gdk-pixbuf-sys-0.18)
(name "rust-gdk-pixbuf-sys")
(version "0.17.10")
(source
@@ -652,7 +682,6 @@ (define-public rust-gdk-pixbuf-sys-0.17
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1jvh91lzanr1a8c5h6ya8i4jzx7ifs8mjxjnmg8dfriw24yfr1cj"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-gio-sys" ,rust-gio-sys-0.17)
@@ -663,14 +692,8 @@ (define-public rust-gdk-pixbuf-sys-0.17
#:cargo-development-inputs
(("rust-shell-words" ,rust-shell-words-1)
("rust-tempfile" ,rust-tempfile-3))))
- (native-inputs
- (list pkg-config))
(inputs
- (list gdk-pixbuf))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgdk_pixbuf-2.0")
- (description "This package provides FFI bindings to @code{libgdk_pixbuf-2.0}.")
- (license license:expat)))
+ (list gdk-pixbuf))))
(define-public rust-gdk-pixbuf-sys-0.15
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 09/91] gnu: Add rust-gdk-pixbuf-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21328EAF0DD850AF71202DB2F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gdk-pixbuf-0.18): New variable.

Change-Id: I33e260ac3e11af9d37b951c0aded8c49b4a07116
---
gnu/packages/crates-gtk.scm | 40 ++++++++++++++++++++++++++++---------
1 file changed, 31 insertions(+), 9 deletions(-)

Toggle diff (69 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 4f844ed6a6..2be6c9e60d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -510,8 +510,38 @@ (define-public rust-gdk-0.12
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))))
+(define-public rust-gdk-pixbuf-0.18
+ (package
+ (name "rust-gdk-pixbuf")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk-pixbuf" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wy68zaxd1914qayjz4jn6k0i2759sx7k26hcmmma7d8fgnw5jdv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs
+ (("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1))
+ #:cargo-development-inputs
+ (("rust-gir-format-check" ,rust-gir-format-check-0.1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib gdk-pixbuf))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GdkPixbuf library")
+ (description "Rust bindings for the @code{GdkPixbuf} library")
+ (license license:expat)))
+
(define-public rust-gdk-pixbuf-0.17
(package
+ (inherit rust-gdk-pixbuf-0.18)
(name "rust-gdk-pixbuf")
(version "0.17.10")
(source
@@ -521,7 +551,6 @@ (define-public rust-gdk-pixbuf-0.17
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "05q7ajsp2z8xi355h26k7lvq7n3lj9xm61vhn045g3238v46npb9"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
#:cargo-inputs
@@ -533,14 +562,7 @@ (define-public rust-gdk-pixbuf-0.17
("rust-once-cell" ,rust-once-cell-1))
#:cargo-development-inputs
(("rust-gir-format-check" ,rust-gir-format-check-0.1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list gdk-pixbuf))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GdkPixbuf library")
- (description "Rust bindings for the @code{GdkPixbuf} library")
- (license license:expat)))
+ (inputs (list gdk-pixbuf))))
(define-public rust-gdk-pixbuf-0.15
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 10/91] gnu: Add rust-graphene-sys-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132D8C51CAEF54564AFB81DF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-graphene-sys-0.18): New variable.

Change-Id: I90fd74b62dc291454b47a606129bfd75508ff994
---
gnu/packages/crates-graphics.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 22b77121e9..a8c6de995c 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -38,8 +38,11 @@ (define-module (gnu packages crates-graphics)
#:use-module (gnu packages assembly)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
+ #:use-module (gnu packages crates-gtk)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages gl)
+ #:use-module (gnu packages glib)
+ #:use-module (gnu packages gtk)
#:use-module (gnu packages llvm)
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages python)
@@ -1346,6 +1349,29 @@ (define-public rust-glutin-wgl-sys-0.1
#:cargo-inputs
(("rust-gl-generator" ,rust-gl-generator-0.14))))))
+(define-public rust-graphene-sys-0.18
+ (package
+ (name "rust-graphene-sys")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "graphene-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0n8zlg7z26lwpnvlqp1hjlgrs671skqwagdpm7r8i1zwx3748hfc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-system-deps" ,rust-system-deps-6))))
+ (native-inputs (list pkg-config glib graphene))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgraphene-1.0")
+ (description "FFI bindings to libgraphene-1.0")
+ (license license:expat)))
+
(define-public rust-ical-0.7
(package
(name "rust-ical")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 12/91] gnu: Add rust-gl-loader-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213297201CC435F7BE8DEEF1F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-gl-loader-0.1): New variable.

Change-Id: I646847c502e8a7fef18496697b4dd2a97b97b0dd
---
gnu/packages/crates-graphics.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index d61b85bb80..822e69fb07 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -995,6 +995,28 @@ (define-public rust-gl-generator-0.11
(base32
"1gdchvay0k0g931b2ki33mkfixcw4radk5b8sqsm29rahxg3v8ir"))))))
+(define-public rust-gl-loader-0.1
+ (package
+ (name "rust-gl-loader")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gl_loader" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lwr1gd7hrb2nk67zw4pc04vl4h868r5a7846zjr0548bzfrcbg3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; missing `gl` crate
+ #:cargo-inputs (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/maeln/gl_loader")
+ (synopsis "Simple OpenGL function pointer loader based on Glad.")
+ (description
+ "Simple @code{OpenGL} function pointer loader based on Glad.")
+ (license license:cecill)))
+
(define-public rust-gleam-0.6
(package
(name "rust-gleam")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 11/91] gnu: Add rust-graphene-rs-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132C00A69B97BCCD7F3A838F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-graphene-rs-0.18): New variable.

Change-Id: I811f6f290a1a789683d024a40222448cd0fa4125
---
gnu/packages/crates-graphics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index a8c6de995c..d61b85bb80 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1349,6 +1349,29 @@ (define-public rust-glutin-wgl-sys-0.1
#:cargo-inputs
(("rust-gl-generator" ,rust-gl-generator-0.14))))))
+(define-public rust-graphene-rs-0.18
+ (package
+ (name "rust-graphene-rs")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "graphene-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00f4q1ra4haap5i7lazwhkdgnb49fs8adk2nm6ki6mjhl76jh8iv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs (("rust-glib" ,rust-glib-0.18)
+ ("rust-graphene-sys" ,rust-graphene-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2))))
+ (native-inputs (list pkg-config glib graphene))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Graphene library")
+ (description "Rust bindings for the Graphene library")
+ (license license:expat)))
+
(define-public rust-graphene-sys-0.18
(package
(name "rust-graphene-sys")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 06/91] gnu: Add rust-glib-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132EB9F5C8333FFFF2B082DF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-glib-0.18): New variable.

Change-Id: Id438a37765cc5b00145503401191f37259b3cdc8
---
gnu/packages/crates-gtk.scm | 55 ++++++++++++++++++++++++++++++-------
1 file changed, 45 insertions(+), 10 deletions(-)

Toggle diff (84 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index cab580bca6..9de8de3cba 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1221,8 +1221,52 @@ (define-public rust-gir-format-check-0.1
(description "File format checker in Rust.")
(license license:expat)))
+(define-public rust-glib-0.18
+ (package
+ (name "rust-glib")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "glib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06dxrhispzz20n33b5k2gg723p27rprc87xbxb2ng06f07xnlc8w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs
+ (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-executor" ,rust-futures-executor-0.3)
+ ("rust-futures-task" ,rust-futures-task-0.3)
+ ("rust-futures-util" ,rust-futures-util-0.3)
+ ("rust-gio-sys" ,rust-gio-sys-0.18)
+ ("rust-glib-macros" ,rust-glib-macros-0.18)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memchr" ,rust-memchr-2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.4)
+ ("rust-gir-format-check" ,rust-gir-format-check-0.1)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-trybuild2" ,rust-trybuild2-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the GLib library")
+ (description "Rust bindings for the GLib library")
+ (license license:expat)))
+
(define-public rust-glib-0.17
(package
+ (inherit rust-glib-0.18)
(name "rust-glib")
(version "0.17.10")
(source (origin
@@ -1232,7 +1276,6 @@ (define-public rust-glib-0.17
(sha256
(base32
"0jqlipn9zixj8fpqlg45v0f06j2ghdz72cml2akcxlnlm1dx9ynk"))))
- (build-system cargo-build-system)
(arguments
`(;; XXX: Tests are sensitive to the version of glib, even though
;; the library supports a wide range. Skip for now.
@@ -1258,15 +1301,7 @@ (define-public rust-glib-0.17
(("rust-criterion" ,rust-criterion-0.4)
("rust-gir-format-check" ,rust-gir-format-check-0.1)
("rust-tempfile" ,rust-tempfile-3)
- ("rust-trybuild2" ,rust-trybuild2-1))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "Rust bindings for the GLib library")
- (description "Rust bindings for the GLib library")
- (license license:expat)))
+ ("rust-trybuild2" ,rust-trybuild2-1))))))
(define-public rust-glib-0.15
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 14/91] gnu: Add rust-pango-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213222082DED2E71D250B54EF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-pango-0.18): New variable.

Change-Id: I586c4d00af804d66583ada712ce34a2a0d92e156
---
gnu/packages/crates-graphics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 83ace15b92..258fe2447a 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1860,6 +1860,31 @@ (define-public rust-osmesa-sys-0.1
(description "This package provides OSMesa library bindings for Rust.")
(license license:cc0)))
+(define-public rust-pango-0.18
+ (package
+ (name "rust-pango")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1l82j97pg7hyq2qnflg3lzyza307y8jvi5h02q3340qxhd5yba86"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs (("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pango-sys" ,rust-pango-sys-0.18))))
+ (native-inputs (list pkg-config pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Pango library")
+ (description "Rust bindings for the Pango library")
+ (license license:expat)))
+
(define-public rust-pango-sys-0.18
(package
(name "rust-pango-sys")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 04/91] gnu: Add rust-gio-sys-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21323DC9929099B586773B23F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gio-sys-0.18): New variable.

Change-Id: I923a6a4361c1c8e420e2d947714bfcce326cb772
---
gnu/packages/crates-gtk.scm | 51 +++++++++++++++++++++++++++++--------
1 file changed, 41 insertions(+), 10 deletions(-)

Toggle diff (80 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index d8d223aa37..53bb539c80 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -1027,8 +1027,48 @@ (define-public rust-gio-0.8
("rust-serial-test" ,rust-serial-test-0.1)
("rust-serial-test-derive" ,rust-serial-test-derive-0.1))))))
+(define-public rust-gio-sys-0.18
+ (package
+ (name "rust-gio-sys")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gio-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1lip8z35iy9d184x2qwjxlbxi64q9cpayy7v1p5y9xdsa3w6smip"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-shell-words" ,rust-shell-words-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs
+ (("rust-shell-words" ,rust-shell-words-1)
+ ("rust-tempfile" ,rust-tempfile-3))
+ #:phases (modify-phases %standard-phases
+ (add-before 'check 'extend-include-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((gio-headers (search-input-directory
+ inputs "include/gio-unix-2.0")))
+ ;; Tests rely on these headers.
+ (setenv "C_INCLUDE_PATH"
+ (string-append gio-headers ":"
+ (getenv "C_INCLUDE_PATH")))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list glib))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libgio-2.0")
+ (description "This package provides FFI bindings to libgio-2.0.")
+ (license license:expat)))
+
(define-public rust-gio-sys-0.17
(package
+ (inherit rust-gio-sys-0.18)
(name "rust-gio-sys")
(version "0.17.10")
(source (origin
@@ -1038,7 +1078,6 @@ (define-public rust-gio-sys-0.17
(sha256
(base32
"1hr84vgpz1hbs9q7wgvpnwhbxwh9kim0z5aqv6v6ki0j1b1qgkqc"))))
- (build-system cargo-build-system)
(arguments
`(;; XXX: Tests are sensitive to the version of glib, even though
;; the library supports a wide range. Skip for now.
@@ -1060,15 +1099,7 @@ (define-public rust-gio-sys-0.17
;; Tests rely on these headers.
(setenv "C_INCLUDE_PATH"
(string-append gio-headers ":"
- (getenv "C_INCLUDE_PATH")))))))))
- (native-inputs
- (list pkg-config))
- (inputs
- (list glib))
- (home-page "https://gtk-rs.org/")
- (synopsis "FFI bindings to libgio-2.0")
- (description "This package provides FFI bindings to libgio-2.0.")
- (license license:expat)))
+ (getenv "C_INCLUDE_PATH")))))))))))
(define-public rust-gio-sys-0.15
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 15/91] gnu: Add rust-const-random-macro-0.1.15.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21325D4358638EA0998D48E7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-const-random-macro-0.1.15): New variable.

Change-Id: I8a4759f2b7dc8aba5a9a4a82e4a597f19e390942
---
gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
1 file changed, 25 insertions(+), 7 deletions(-)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d42ff60a20..9e76aca84f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15127,8 +15127,32 @@ (define-public rust-const-random-0.1
generation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-const-random-macro-0.1.15
+ (package
+ (name "rust-const-random-macro")
+ (version "0.1.15")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const-random-macro" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1nqdbkh0zwvh82ypxyzhg82sgq5nvb204pyz22r2sa52qfrnlzcx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
+ ("rust-tiny-keccak" ,rust-tiny-keccak-2))))
+ (home-page "https://github.com/tkaitchuck/constrandom")
+ (synopsis "Procedural macro used by const-random")
+ (description "This package provides the procedural macro used by
+@code{rust-const-random}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-const-random-macro-0.1
(package
+ (inherit rust-const-random-macro-0.1.15)
(name "rust-const-random-macro")
(version "0.1.13")
(source
@@ -15138,18 +15162,12 @@ (define-public rust-const-random-macro-0.1
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0h7vvskw1pw5x44sbl74gsi8ydvrj5kaixpjqzxvz8h0s0knwpv1"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-getrandom" ,rust-getrandom-0.2)
("rust-lazy-static" ,rust-lazy-static-1)
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5)
- ("rust-tiny-keccak" ,rust-tiny-keccak-2))))
- (home-page "https://github.com/tkaitchuck/constrandom")
- (synopsis "Procedural macro used by const-random")
- (description "This package provides the procedural macro used by
-@code{rust-const-random}.")
- (license (list license:expat license:asl2.0))))
+ ("rust-tiny-keccak" ,rust-tiny-keccak-2))))))
(define-public rust-const-sha1-0.2
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 17/91] gnu: Add rust-proc-status-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21325A721236137EE648979EF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-proc-status-0.1): New variable.

Change-Id: I596b68be2154b04535226b11a894c07cba9bb79c
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3c6d80ec4b..6a658aff9e 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53025,6 +53025,25 @@ (define-public rust-priority-queue-1
priority of an object.")
(license license:expat)))
+(define-public rust-proc-status-0.1
+ (package
+ (name "rust-proc-status")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "proc-status" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "04lp8kdj75m8s1hwxslyzz3fdgbs6zy4zfjhg2s7cysyj6nc1q7h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-thiserror" ,rust-thiserror-1))))
+ (home-page "https://github.com/Canop/proc-status")
+ (synopsis "simple access to proc/status info on unix")
+ (description "simple access to proc/status info on unix")
+ (license license:expat)))
+
(define-public rust-proc-macro-crate-1
(package
(name "rust-proc-macro-crate")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 18/91] gnu: Add rust-ordermap-0.2.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132CF9D7100895059FC2293F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-ordermap-0.2): New variable.

Change-Id: Ie1f81184f8e46fd18145ef8f309e7c058a6ad4b0
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6a658aff9e..d677dc01fd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47673,6 +47673,25 @@ (define-public rust-ordermap-0.3
under its new name.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-ordermap-0.2
+ (package
+ (inherit rust-ordermap-0.3)
+ (name "rust-ordermap")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ordermap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1gwpmqbynscg03q7zw3ydp1flz8hxxxbl0cl4xxw392q1n5bxfrb"))))
+ (arguments
+ `(#:cargo-development-inputs (("rust-fnv" ,rust-fnv-1)
+ ("rust-itertools" ,rust-itertools-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-0.2)
+ ("rust-quickcheck" ,rust-quickcheck-0.4)
+ ("rust-rand" ,rust-rand-0.3))))))
+
(define-public rust-orion-0.17
(package
(name "rust-orion")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 19/91] gnu: Add rust-quick-xml-0.30.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21326868D1B56A2F1BE5969BF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-quick-xml-0.30): New variable.

Change-Id: I33852316bcf2f3bf5bd34f0a10c011da07753c51
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d677dc01fd..af235d1564 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -54971,18 +54971,17 @@ (define-public rust-quick-error-1
(base32
"1q6za3v78hsspisc197bg3g7rpc989qycy8ypr8ap8igv10ikl51"))))))
-(define-public rust-quick-xml-0.28
+(define-public rust-quick-xml-0.30
(package
(name "rust-quick-xml")
- (version "0.28.2")
+ (version "0.30.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "quick-xml" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1lfr3512x0s0i9kbyglyzn0rq0i1bvd2mqqfi8gs685808rfgr8c"))))
+ (base32 "0mp9cqy06blsaka3r1n2p40ddmzhsf7bx37x22r5faw6hq753xpg"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -55006,6 +55005,20 @@ (define-public rust-quick-xml-0.28
"This package provides a high performance XML reader and writer.")
(license license:expat)))
+(define-public rust-quick-xml-0.28
+ (package
+ (inherit rust-quick-xml-0.30)
+ (name "rust-quick-xml")
+ (version "0.28.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "quick-xml" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1lfr3512x0s0i9kbyglyzn0rq0i1bvd2mqqfi8gs685808rfgr8c"))))))
+
(define-public rust-quick-xml-0.27
(package
(inherit rust-quick-xml-0.28)
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 20/91] gnu: Add rust-rstest-macros-0.17.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132AE809B57A4B67F34D0A2F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-rstest-macros-0.17): New variable.

Change-Id: I4bd4edfcb88347df970fc7550ca7e9d2c31f226e
---
gnu/packages/crates-io.scm | 37 +++++++++++++++++++++++++++++--------
1 file changed, 29 insertions(+), 8 deletions(-)

Toggle diff (66 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index af235d1564..9f482454bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59378,8 +59378,36 @@ (define-public rust-rstest-0.6
(base32
"1wdd0ci0bn6fd5v5c19lhlqrpadk18fl4jzvh75b26616anlxdil"))))))
+(define-public rust-rstest-macros-0.17
+ (package
+ (name "rust-rstest-macros")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rstest_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1a7w30h0g88v40p938skcbngsm6x6pf49gc369ydnznar2hs2319"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; requires rust-artix-rt@2.7.0
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-syn" ,rust-syn-1)
+ ("rust-unicode-ident" ,rust-unicode-ident-1))))
+ (home-page "https://github.com/la10736/rstest")
+ (synopsis "Procedural macros for @code{rstest}.")
+ (description
+ "This package provides the procedural macro crate for
+@code{rstest}.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rstest-macros-0.14
(package
+ (inherit rust-rstest-macros-0.17)
(name "rust-rstest-macros")
(version "0.14.0")
(source (origin
@@ -59389,7 +59417,6 @@ (define-public rust-rstest-macros-0.14
(sha256
(base32
"0rlwp3r1dg3fl4f100wjd3ya7dhs23vpyqgf7vg5mac50s5fc5ah"))))
- (build-system cargo-build-system)
(arguments
(list #:skip-build? #t
#:cargo-inputs
@@ -59397,13 +59424,7 @@ (define-public rust-rstest-macros-0.14
("rust-proc-macro2" ,rust-proc-macro2-1)
("rust-quote" ,rust-quote-1)
("rust-rustc-version" ,rust-rustc-version-0.4)
- ("rust-syn" ,rust-syn-1))))
- (home-page "https://github.com/la10736/rstest")
- (synopsis "Procedural macros for @code{rstest}.")
- (description
- "This package provides the procedural macro crate for
-@code{rstest}.")
- (license (list license:expat license:asl2.0))))
+ ("rust-syn" ,rust-syn-1))))))
(define-public rust-rstest-reuse-0.4
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 13/91] gnu: Add rust-pango-sys-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132C74FA3F3C7008F37859CF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-pango-sys-0.18): New variable.

Change-Id: I1c5159670be3c67d08942d3e058ef094b9f95c3c
---
gnu/packages/crates-graphics.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 822e69fb07..83ace15b92 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -1860,6 +1860,29 @@ (define-public rust-osmesa-sys-0.1
(description "This package provides OSMesa library bindings for Rust.")
(license license:cc0)))
+(define-public rust-pango-sys-0.18
+ (package
+ (name "rust-pango-sys")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "pango-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1iaxalcaaj59cl9n10svh4g50v8jrc1a36kd7n9yahx8j7ikfrs3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6))))
+ (native-inputs (list pkg-config glib pango))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libpango-1.0")
+ (description "FFI bindings to libpango-1.0")
+ (license license:expat)))
+
(define-public rust-piston-float-1
(package
(name "rust-piston-float")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 21/91] gnu: Add rust-spinning-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213277B6F30B6A5169F24968F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-spinning-0.1): New variable.

Change-Id: I1ffc6e838c75a0c7efb19bf282715049dfc76f4b
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9f482454bd..2c49f014da 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -68109,6 +68109,25 @@ (define-public rust-spin-on-0.1
ready. This will probably use a lot of CPU, so be careful when you use it.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-spinning-0.1
+ (package
+ (name "rust-spinning")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "spinning" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yrs2lzyyrwvs58pya2h22pfdx3vv0h76w1av5c2dbbw5630wkrd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-lock-api" ,rust-lock-api-0.4))))
+ (home-page "https://github.com/4lDO2/spinning-rs.git")
+ (synopsis "Mutexes and SIX locks implemented by spinning")
+ (description "Mutexes and SIX locks implemented by spinning")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-spinning-top-0.2
(package
(name "rust-spinning-top")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 24/91] gnu: Add rust-rstest-0.17.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21328D246400F7B013E121DCF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-rstest-0.17): New variable.

Change-Id: I75babb1174e1e0f1c55267b342f2f678b3309c3a
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++--------
1 file changed, 27 insertions(+), 8 deletions(-)

Toggle diff (63 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1bdf0a3347..2d3c3cf4f0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59277,8 +59277,34 @@ (define-public rust-rstar-0.8
(base32
"1b6vjfwvpcgy0q8ywywz548vhxrmhbz2sm6xyhnmj5p5xd1xfqff"))))))
+(define-public rust-rstest-0.17
+ (package
+ (name "rust-rstest")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rstest" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0qnrx40c05ziz2sxhrj0i4pamvlip8cx7w62439qr1wils3b86yy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; requires rust-artix-rt@2.7.0
+ #:cargo-inputs (("rust-futures" ,rust-futures-0.3)
+ ("rust-futures-timer" ,rust-futures-timer-3)
+ ("rust-rstest-macros" ,rust-rstest-macros-0.17)
+ ("rust-rustc-version" ,rust-rustc-version-0.4))))
+ (home-page "https://github.com/la10736/rstest")
+ (synopsis "Rust fixture based test framework")
+ (description
+ "@code{rstest} uses procedural macros to help you write fixtures
+and table-based tests.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rstest-0.15
(package
+ (inherit rust-rstest-0.17)
(name "rust-rstest")
(version "0.15.0")
(source
@@ -59288,20 +59314,13 @@ (define-public rust-rstest-0.15
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "0c5r8wimr2fv3x25dbb99rk165lzcsz6jlpv7xk2ny99rikdrjg9"))))
- (build-system cargo-build-system)
(arguments
(list #:skip-build? #t
#:cargo-inputs
`(("rust-futures" ,rust-futures-0.3)
("rust-futures-timer" ,rust-futures-timer-3)
("rust-rstest-macros" ,rust-rstest-macros-0.14)
- ("rust-rustc-version" ,rust-rustc-version-0.3))))
- (home-page "https://github.com/la10736/rstest")
- (synopsis "Rust fixture based test framework")
- (description
- "@code{rstest} uses procedural macros to help you write fixtures
-and table-based tests.")
- (license (list license:expat license:asl2.0))))
+ ("rust-rustc-version" ,rust-rustc-version-0.3))))))
(define-public rust-rstest-0.12
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 27/91] gnu: Add rust-libudev-sys-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21322F4BF811252AE7E335EAF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-libudev-sys-0.1): New variable.

Change-Id: Ic4cc4acbdc6d9daf85fedb11f8bf1818b82dae76
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9bdc5ee1aa..2e972cdd06 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76,6 +76,7 @@ (define-module (gnu packages crates-io)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
#:use-module (gnu packages jemalloc)
@@ -38707,6 +38708,27 @@ (define-public rust-libtest-mimic-0.3
("rust-structopt" ,rust-structopt-0.3)
("rust-termcolor" ,rust-termcolor-1))))))
+(define-public rust-libudev-sys-0.1
+ (package
+ (name "rust-libudev-sys")
+ (version "0.1.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libudev-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09236fdzlx9l0dlrsc6xx21v5x8flpfm3d5rjq9jr5ivlas6k11w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config libgudev))
+ (home-page "https://github.com/dcuddeback/libudev-sys")
+ (synopsis "FFI bindings to libudev")
+ (description "FFI bindings to libudev")
+ (license license:expat)))
+
(define-public rust-litrs-0.2
(package
(name "rust-litrs")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 26/91] gnu: Add rust-minidl-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21325816D0463ECEE19F79E2F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-minidl-0.1): New variable.

Change-Id: I4345889c4931b63a55ac9d80cbf8279f1ab6df99
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 288c32b132..9bdc5ee1aa 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41440,6 +41440,24 @@ (define-public rust-mime-guess-1
("rust-phf-codegen" ,rust-phf-codegen-0.7)
("rust-unicase" ,rust-unicase-1))))))
+(define-public rust-minidl-0.1
+ (package
+ (name "rust-minidl")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "minidl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00fq4q6z8pgyp7hnjn4pwaqhay89yz6dqvh9q0q25ljydrkdilw7"))))
+ (arguments '(#:tests? #f)) ; libc.so.6 cannot open shared object
+ (build-system cargo-build-system)
+ (home-page "https://github.com/MaulingMonkey/minidl")
+ (synopsis "Extremely lean cross platform library for loading symbols")
+ (description "Extremely lean cross platform library for loading symbols")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-miniflux-api-0.3
(package
(name "rust-miniflux-api")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 29/91] gnu: Add rust-file-size-1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21325CD85AA56D79953D985CF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-file-size-1): New variable.

Change-Id: Iaf250012ee2499f14f1bdbd303e9b3acbac3cb00
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c2d899ae67..9d47e9c03c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -25841,6 +25841,23 @@ (define-public rust-file-diff-1
(description "An atomic utility for diffing files in testing.")
(license license:bsd-3)))
+(define-public rust-file-size-1
+ (package
+ (name "rust-file-size")
+ (version "1.0.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "file-size" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1cyj7067fs7ml8pjrwzjy3qrns3yxaxakf0na1v5fffk0l0z2i4m"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/Canop/file-size")
+ (synopsis "a function formatting file sizes in 4 chars")
+ (description "a function formatting file sizes in 4 chars")
+ (license license:expat)))
+
(define-public rust-filesize-0.2
(package
(name "rust-filesize")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:11
[PATCH 16/91] gnu: Add rust-const-random-0.1.15.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132B63C3FBBA8FDD0443F7AF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-const-random-0.1.15): New variable.

Change-Id: Ie0129f7a1d35d67f9ce86833b1a9d69fc2eec71f
---
gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
1 file changed, 21 insertions(+), 4 deletions(-)

Toggle diff (56 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9e76aca84f..3c6d80ec4b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15105,21 +15105,21 @@ (define-public rust-const-oid-0.6
(base32 "12vv7csqqjj0x1l5mf51lgqiw76k5c3mb1yzfhfcqysks2j2lvwx"))))
(arguments `(#:skip-build? #t))))
-(define-public rust-const-random-0.1
+(define-public rust-const-random-0.1.15
(package
(name "rust-const-random")
- (version "0.1.13")
+ (version "0.1.15")
(source
(origin
(method url-fetch)
(uri (crate-uri "const-random" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1i3pmhmmcdw3rr1pv1p9yhm4danm5r156cpy7w30pa0s05fxk47m"))))
+ (base32 "13n15ji2jpkkymd94wjgfknbhgaz916b1gw2vvhyfv5d5rvpm2in"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
- (("rust-const-random-macro" ,rust-const-random-macro-0.1)
+ (("rust-const-random-macro" ,rust-const-random-macro-0.1.15)
("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))
(home-page "https://github.com/tkaitchuck/constrandom")
(synopsis "Compile time random number generation")
@@ -15127,6 +15127,23 @@ (define-public rust-const-random-0.1
generation.")
(license (list license:expat license:asl2.0))))
+(define-public rust-const-random-0.1
+ (package
+ (inherit rust-const-random-0.1.15)
+ (name "rust-const-random")
+ (version "0.1.13")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "const-random" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1i3pmhmmcdw3rr1pv1p9yhm4danm5r156cpy7w30pa0s05fxk47m"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-const-random-macro" ,rust-const-random-macro-0.1)
+ ("rust-proc-macro-hack" ,rust-proc-macro-hack-0.5))))))
+
(define-public rust-const-random-macro-0.1.15
(package
(name "rust-const-random-macro")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 22/91] gnu: Add rust-to-method-1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132B9D4229EDB0E943F000FF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-to-method-1): New variable.

Change-Id: I754a760dc6f44a33d72d94ef5c379e5e7757fe49
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)

Toggle diff (31 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c49f014da..1c818d15d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74663,6 +74663,24 @@ (define-public rust-titlecase-1
Fireball''.")
(license license:expat)))
+(define-public rust-to-method-1
+ (package
+ (name "rust-to-method")
+ (version "1.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "to_method" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s72l06fnb5kv6vm5ds0lilg1dyciyyis09ypi5kij0mrbpcxi67"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/whentze/to_method")
+ (synopsis "A utility micro-crate for using Into more ergonomically.")
+ (description "This package provides a utility micro-crate for using Into
+more ergonomically.")
+ (license license:cc0)))
+
(define-public rust-to-shmem-0.0.0
(package
(name "rust-to-shmem")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 23/91] gnu: Add rust-rustc-hash-1.0.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132B76ED27F35DE903C81ABF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-rustc-hash-1.0): New variable.

Change-Id: Ibf192d5d2b99b76fda07f5eaca596c047c49f440
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1c818d15d7..1bdf0a3347 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60285,6 +60285,25 @@ (define-public rust-rustc-hash-1
"This package provides a speedy, non-cryptographic hash used in rustc.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-rustc-hash-1.0
+ (package
+ (name "rust-rustc-hash")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustc-hash" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f4cnbcmz2c3zjidqszc9c4fip37ch4xl74nkkp9dw291j5zqh3m"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-byteorder" ,rust-byteorder-1))))
+ (home-page "https://github.com/rust-lang-nursery/rustc-hash")
+ (synopsis "speed, non-cryptographic hash used in rustc")
+ (description "speed, non-cryptographic hash used in rustc")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-rustc-hex-2
(package
(name "rust-rustc-hex")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 31/91] gnu: Add rust-cli-log-2.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213273FCA73C41D1BD2170F2F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-cli-log-2): New variable.

Change-Id: I88c7c3b4f1e6f26fa5a15c3a48797e032508d708
---
gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b9a2f17a23..21fa1ae9ed 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -13407,6 +13407,30 @@ (define-public rust-clicolors-control-1
colorization.")
(license license:expat)))
+(define-public rust-cli-log-2
+ (package
+ (name "rust-cli-log")
+ (version "2.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cli-log" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k559h2am9qk65d72m9p6nzymzqirjp8bh2sya5c4bn8qh6v0aix"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-chrono" ,rust-chrono-0.4)
+ ("rust-file-size" ,rust-file-size-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-proc-status" ,rust-proc-status-0.1))))
+ (home-page "https://github.com/Canop/cli-log")
+ (synopsis
+ "a simple logging and timing facility configured with an env variable")
+ (description
+ "a simple logging and timing facility configured with an env variable")
+ (license license:expat)))
+
(define-public rust-clipboard-win-4
(package
(name "rust-clipboard-win")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 33/91] gnu: Add rust-coverage-helper-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213202368A0E2F37B87D34C0F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-coverage-helper-0.1): New variable.

Change-Id: Iee9040b7cb16859880ed37f72ea91b0f85877538
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 197d9e3e33..cf5a2533ad 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -16236,6 +16236,25 @@ (define-public rust-cov-mark-2
(description "This package provides a Manual coverage marks.")
(license (list license:expat license:asl2.0))))
+(define-public rust-coverage-helper-0.1
+ (package
+ (name "rust-coverage-helper")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "coverage_helper" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1zpk3k8r7rzc84xp45qww0kix7s9iv92xajndi5c3wvw8w753nx9"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/taiki-e/coverage-helper")
+ (synopsis
+ "Helper for <https://github.com/taiki-e/cargo-llvm-cov/issues/123>.")
+ (description
+ "Helper for <https://github.com/taiki-e/cargo-llvm-cov/issues/123>.")
+ (license (list license:asl2.0 license:expat))))
+
(define-public rust-count-instructions-0.1
(package
(name "rust-count-instructions")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 34/91] gnu: Add rust-dlv-list-0.5.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132629F58AF37CDAE4C4295F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-dlv-list-0.5): New variable.

Change-Id: I1a38bd5579b0e06deb35de811d99099bf0edec65
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf5a2533ad..347f3f2cc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22089,22 +22089,22 @@ (define-public rust-dlib-0.4
(inputs
(list rust-libloading-0.6))))
-(define-public rust-dlv-list-0.2
+(define-public rust-dlv-list-0.5
(package
(name "rust-dlv-list")
- (version "0.2.3")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "dlv-list" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "06r1nskj3x56p5wqz2bgl6q3rpyymrb0k0zpbvk8c6qcd4mkzpv8"))))
+ (base32 "1x2cyvbs0brrj8zhdy2ma38m2narkrfg473j4ly2cpvbqi6x1sla"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-rand" ,rust-rand-0.8))))
+ `(#:cargo-inputs (("rust-const-random" ,rust-const-random-0.1.15)
+ ("rust-coverage-helper" ,rust-coverage-helper-0.1)
+ ("rust-serde" ,rust-serde-1))))
(home-page "https://github.com/sgodwincs/dlv-list-rs")
(synopsis "Semi-doubly linked list implemented using a vector")
(description
@@ -22112,6 +22112,23 @@ (define-public rust-dlv-list-0.2
a vector.")
(license license:expat)))
+(define-public rust-dlv-list-0.2
+ (package
+ (inherit rust-dlv-list-0.5)
+ (name "rust-dlv-list")
+ (version "0.2.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dlv-list" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "06r1nskj3x56p5wqz2bgl6q3rpyymrb0k0zpbvk8c6qcd4mkzpv8"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-dns-parser-0.8
(package
(name "rust-dns-parser")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 35/91] gnu: Add rust-errno-sys-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213280416C93941A247A5B94F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-errno-sys-0.1): New variable.

Change-Id: I762fc65c49c26c9758f11509d45fc47d45f09383
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 347f3f2cc1..c3ffe8462b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24677,6 +24677,26 @@ (define-public rust-error-code-2
@code{no_std} environment.")
(license license:boost1.0)))
+(define-public rust-errno-sys-0.1
+ (package
+ (name "rust-errno-sys")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "errno-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1s1lsrcqrdxx9xsvy3vzhypyizyjpcaxrijb09c50lpid8hhf04w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cc" ,rust-cc-1)
+ ("rust-libc" ,rust-libc-0.2))))
+ (home-page "https://github.com/A1-Triard/errno-sys")
+ (synopsis "Raw FFI bindings to `errno` location.")
+ (description "Raw FFI bindings to `errno` location.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-escaper-0.1
(package
(name "rust-escaper")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 36/91] gnu: Add rust-libc-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21324A89E79F9DD990ED0244F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-libc-0.1): New variable.

Change-Id: I58184b1667a09a0a61944045fa4a9202adc1117a
---
gnu/packages/crates-io.scm | 15 +++++++++++++++
1 file changed, 15 insertions(+)

Toggle diff (28 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3ffe8462b..152cf7367c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -37107,6 +37107,21 @@ (define-public rust-libc-0.2
(license (list license:expat
license:asl2.0))))
+(define-public rust-libc-0.1
+ (package
+ (inherit rust-libc-0.2)
+ (name "rust-libc")
+ (version "0.1.12")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "08k14zb7bw25avmaj227calcdglb4ac394kklr9nv175fp7p0ap3"))))
+ (arguments
+ `(#:tests? #f)))) ; the name `std` is defined multiple times
+
(define-public rust-libc-print-0.1
(package
(name "rust-libc-print")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 37/91] gnu: Add rust-khronos-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213262E80F0DD80DD144C400F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-khronos-0.1): New variable.

Change-Id: Ib45497c23aa8e49a28b910d19419837e07216fe8
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 152cf7367c..2db7ddfe52 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36266,6 +36266,25 @@ (define-public rust-keyring-2
passwords/credentials.")
(license (list license:expat license:asl2.0))))
+(define-public rust-khronos-0.1
+ (package
+ (name "rust-khronos")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "khronos" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0l4zr3d3kzzvdrrz6crz5zmqrczwdgsg2y49zaqnxfp6h2m1lwf0"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.1))))
+ (home-page "https://github.com/seankerr/rust-khronos")
+ (synopsis "Rust types for Khronos API")
+ (description "Rust types for Khronos API")
+ (license license:asl2.0)))
+
(define-public rust-khronos-api-3
(package
(name "rust-khronos-api")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 38/91] gnu: Add rust-hashbrown-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132AAC3F83BA930164491A9F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-hashbrown-0.7): New variable.

Change-Id: Icba6a1a55dce7d12872d63a5838f0ac52498034a
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2db7ddfe52..6e604d49e6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31109,6 +31109,35 @@ (define-public rust-hashbrown-0.8
("rust-rustc-hash" ,rust-rustc-hash-1)
("rust-serde-test" ,rust-serde-test-1))))))
+(define-public rust-hashbrown-0.7
+ (package
+ (inherit rust-hashbrown-0.8)
+ (name "rust-hashbrown")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hashbrown" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ks110dbp81ddn3v826vnrlk5psh3vgvwf4rmb9s0gfdpyb2wa4n"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ahash" ,rust-ahash-0.3)
+ ("rust-autocfg" ,rust-autocfg-1)
+ ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+ ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs
+ (("rust-doc-comment" ,rust-doc-comment-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rand" ,rust-rand-0.7)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-rustc-hash" ,rust-rustc-hash-1.0)
+ ("rust-serde-test" ,rust-serde-test-1))))))
+
(define-public rust-hashbrown-0.6
(package
(inherit rust-hashbrown-0.9)
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 39/91] gnu: Add rust-egl-0.2.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132291C3717826E555E48F7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-egl-0.2): New variable.

Change-Id: I2a5789763f59f3bd62ab6fd154efaf7b4c248550
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6e604d49e6..9090141f4f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23078,6 +23078,27 @@ (define-public rust-edit-distance-2
"Levenshtein edit distance between strings, a measure for similarity.")
(license license:asl2.0)))
+(define-public rust-egl-0.2
+ (package
+ (name "rust-egl")
+ (version "0.2.7")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "egl" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bbmn2j2j7qpc7rhkv740sfx080w3n9lbcnibgqiy2r08jcbqwx3"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-khronos" ,rust-khronos-0.1)
+ ("rust-libc" ,rust-libc-0.2))))
+ (inputs (list mesa))
+ (home-page "https://github.com/seankerr/rust-egl")
+ (synopsis "Rust bindings for EGL")
+ (description "Rust bindings for EGL")
+ (license license:asl2.0)))
+
(define-public rust-ego-tree-0.6
(package
(name "rust-ego-tree")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 32/91] gnu: Add rust-assert2-0.3.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132B0D1AF0AB944266E5035F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-assert2-0.3): New variable.

Change-Id: Icbf8b71af2c3d7b1bc0b06346bd3454057ebc3c7
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 21fa1ae9ed..197d9e3e33 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4922,6 +4922,27 @@ (define-public rust-ascii-utils-0.9
"This library provides utilities to handle ASCII characters.")
(license license:mpl2.0)))
+(define-public rust-assert2-0.3
+ (package
+ (name "rust-assert2")
+ (version "0.3.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert2" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15cfdn5sl8ls6234pv2ysflw2xcxh8j1ypjlif7wnva0hc8qvyga"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-assert2-macros" ,rust-assert2-macros-0.3)
+ ("rust-is-terminal" ,rust-is-terminal-0.4)
+ ("rust-yansi" ,rust-yansi-0.5))))
+ (home-page "https://github.com/de-vri-es/assert2-rs")
+ (synopsis "assert!(...) and check!(...) macros inspired by Catch2")
+ (description "assert!(...) and check!(...) macros inspired by Catch2")
+ (license license:bsd-2)))
+
(define-public rust-assert2-macros-0.3
(package
(name "rust-assert2-macros")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 40/91] gnu: Add rust-ordered-multimap-0.6.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213279A5DFB87EB1B1615F63F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-ordered-multimap-0.6): New variable.

Change-Id: Ic91831ef26baf7f96b374dd58cca72f96e926f2c
---
gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++-------
1 file changed, 25 insertions(+), 7 deletions(-)

Toggle diff (59 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9090141f4f..5783d478d0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47881,8 +47881,32 @@ (define-public rust-ordered-float-1
(base32
"0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq"))))))
+(define-public rust-ordered-multimap-0.6
+ (package
+ (name "rust-ordered-multimap")
+ (version "0.6.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "ordered-multimap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "03k9jx3irxldq4hp462ld25fcr03xcycd2sc73jl9rwqivqarn2f"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-dlv-list" ,rust-dlv-list-0.5)
+ ("rust-hashbrown" ,rust-hashbrown-0.13)
+ ("rust-coverage-helper" ,rust-coverage-helper-0.1)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/sgodwincs/ordered-multimap-rs")
+ (synopsis "Insertion ordered multimap")
+ (description "This crate provides a multimap type object that maintains
+insertion order across all keys and values.")
+ (license license:expat)))
+
(define-public rust-ordered-multimap-0.3
(package
+ (inherit rust-ordered-multimap-0.6)
(name "rust-ordered-multimap")
(version "0.3.1")
(source
@@ -47892,18 +47916,12 @@ (define-public rust-ordered-multimap-0.3
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1194q7sb2d6chbllsn7237dhhvx04iqr3sq0ii16w1pcv5x2qrqw"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-dlv-list" ,rust-dlv-list-0.2)
("rust-hashbrown" ,rust-hashbrown-0.9)
- ("rust-serde" ,rust-serde-1))))
- (home-page "https://github.com/sgodwincs/ordered-multimap-rs")
- (synopsis "Insertion ordered multimap")
- (description "This crate provides a multimap type object that maintains
-insertion order across all keys and values.")
- (license license:expat)))
+ ("rust-serde" ,rust-serde-1))))))
(define-public rust-ordered-stream-0.1
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 41/91] gnu: Add rust-dlib-0.5.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213293B851ABA5F614738C71F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-dlib-0.5.1): New variable.

Change-Id: Id7d1026b1311236db21aef3e9eb48b79665889ee
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++----
1 file changed, 17 insertions(+), 4 deletions(-)

Toggle diff (49 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5783d478d0..8259515692 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22043,18 +22043,17 @@ (define-public rust-dissimilar-1
Google's diff-match-patch.")
(license (list license:expat license:asl2.0))))
-(define-public rust-dlib-0.5
+(define-public rust-dlib-0.5.1
(package
(name "rust-dlib")
- (version "0.5.0")
+ (version "0.5.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "dlib" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32
- "1547hy7nrhkrb2i09va244c0h8mr845ccbs2d2mc414c68bpa6xc"))))
+ (base32 "0qkfggq7zik86jj83kcs22agpwpkrz5b4344mp3djrmg5c6a04hm"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ;FIXME: Several macros are not found.
@@ -22069,6 +22068,20 @@ (define-public rust-dlib-0.5
system libraries.")
(license license:expat)))
+(define-public rust-dlib-0.5
+ (package
+ (inherit rust-dlib-0.5.1)
+ (name "rust-dlib")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "dlib" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1547hy7nrhkrb2i09va244c0h8mr845ccbs2d2mc414c68bpa6xc"))))))
+
(define-public rust-dlib-0.4
(package
(inherit rust-dlib-0.5)
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 43/91] gnu: Add rust-wayland-backend-0.1.3.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132F35BF51064A33D560B75F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-wayland-backend-0.1.3): New variable.

Change-Id: I942e072bbb7162d32f81c396a0b1776f69b2dcc3
---
gnu/packages/crates-graphics.scm | 36 ++++++++++++++++++++++++++++----
1 file changed, 32 insertions(+), 4 deletions(-)

Toggle diff (71 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 34429553b5..abc4f3a01f 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2765,17 +2765,17 @@ (define-public rust-tiff-0.2
("rust-num-derive" ,rust-num-derive-0.2)
("rust-num-traits" ,rust-num-traits-0.2))))))
-(define-public rust-wayland-backend-0.1
+(define-public rust-wayland-backend-0.1.3
(package
(name "rust-wayland-backend")
- (version "0.1.2")
+ (version "0.1.3")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-backend" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "1n1yi6vna23wfkrpk1j46sx5qbsijh50viha4sra73by8lkqxd21"))))
+ (base32 "1rnzr14l654506alzyvphlcifb8sd4macnw4c5i0ymabvm926prv"))))
(build-system cargo-build-system)
(arguments
`(#:tests? #f ; Use of undeclared dependencies
@@ -2788,7 +2788,7 @@ (define-public rust-wayland-backend-0.1
("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
("rust-scoped-tls" ,rust-scoped-tls-1)
("rust-smallvec" ,rust-smallvec-1)
- ("rust-wayland-sys" ,rust-wayland-sys-0.30))
+ ("rust-wayland-sys" ,rust-wayland-sys-0.31))
#:cargo-development-inputs
(("rust-concat-idents" ,rust-concat-idents-1)
("rust-env-logger" ,rust-env-logger-0.10))))
@@ -2798,6 +2798,34 @@ (define-public rust-wayland-backend-0.1
protocol.")
(license license:expat)))
+(define-public rust-wayland-backend-0.1
+ (package
+ (inherit rust-wayland-backend-0.1.3)
+ (name "rust-wayland-backend")
+ (version "0.1.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-backend" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1n1yi6vna23wfkrpk1j46sx5qbsijh50viha4sra73by8lkqxd21"))))
+ (arguments
+ `(#:tests? #f ; Use of undeclared dependencies
+ #:cargo-inputs
+ (("rust-cc" ,rust-cc-1)
+ ("rust-downcast-rs" ,rust-downcast-rs-1)
+ ("rust-io-lifetimes" ,rust-io-lifetimes-1)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-raw-window-handle" ,rust-raw-window-handle-0.5)
+ ("rust-scoped-tls" ,rust-scoped-tls-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-wayland-sys" ,rust-wayland-sys-0.30))
+ #:cargo-development-inputs
+ (("rust-concat-idents" ,rust-concat-idents-1)
+ ("rust-env-logger" ,rust-env-logger-0.10))))))
+
(define-public rust-wayland-client-0.30
(package
(name "rust-wayland-client")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 42/91] gnu: Add rust-wayland-sys-0.31.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213255BE6A90736CFD6A1B23F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-wayland-sys-0.31): New variable.

Change-Id: Id3d4ae66611a9686aee0e72a7359e34cdb1a0a2e
---
gnu/packages/crates-graphics.scm | 49 +++++++++++++++++++++++++-------
1 file changed, 39 insertions(+), 10 deletions(-)

Toggle diff (79 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 258fe2447a..34429553b5 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -3544,26 +3544,25 @@ (define-public rust-wayland-server-0.21
("rust-wayland-sys" ,rust-wayland-sys-0.21)
("rust-wayland-scanner" ,rust-wayland-scanner-0.21))))))
-(define-public rust-wayland-sys-0.30
+(define-public rust-wayland-sys-0.31
(package
(name "rust-wayland-sys")
- (version "0.30.1")
+ (version "0.31.1")
(source
(origin
(method url-fetch)
(uri (crate-uri "wayland-sys" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "01man4ll2kyxp9x2934rhnf98522pzwsd2c6jwr73q08qqma1cln"))))
+ (base32 "1bxpwamgagpxa8p9m798gd3g6rwj2m4sbdvc49zx05jjzzmci80m"))))
(build-system cargo-build-system)
(arguments
- `(#:cargo-inputs
- (("rust-dlib" ,rust-dlib-0.5)
- ("rust-lazy-static" ,rust-lazy-static-1)
- ("rust-libc" ,rust-libc-0.2)
- ("rust-log" ,rust-log-0.4)
- ("rust-memoffset" ,rust-memoffset-0.7)
- ("rust-pkg-config" ,rust-pkg-config-0.3))
+ `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.5.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memoffset" ,rust-memoffset-0.9)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-libraries
@@ -3584,6 +3583,36 @@ (define-public rust-wayland-sys-0.30
crate @code{rust-wayland-client} for usable bindings.")
(license license:expat)))
+(define-public rust-wayland-sys-0.30
+ (package
+ (inherit rust-wayland-sys-0.31)
+ (name "rust-wayland-sys")
+ (version "0.30.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "wayland-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01man4ll2kyxp9x2934rhnf98522pzwsd2c6jwr73q08qqma1cln"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dlib" ,rust-dlib-0.5)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-memoffset" ,rust-memoffset-0.7)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-libraries
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((libwayland (dirname (search-input-file
+ inputs "lib/libwayland-client.so"))))
+ (substitute* (find-files "src" "\\.rs$")
+ (("libwayland.*\\.so" shared-lib)
+ (string-append libwayland "/" shared-lib)))))))))))
+
(define-public rust-wayland-sys-0.29
(package
(inherit rust-wayland-sys-0.30)
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 44/91] gnu: Add rust-textdistance-1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213206E387DF4DF76A3729BEF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-textdistance-1): New variable.

Change-Id: I1b365f4efaac650dd50bf6a1123ecdcd635eadc1
---
gnu/packages/crates-graphics.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)

Toggle diff (38 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index abc4f3a01f..79922722a9 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2655,6 +2655,31 @@ (define-public rust-smithay-clipboard-0.6
applications.")
(license license:expat)))
+(define-public rust-textdistance-1
+ (package
+ (name "rust-textdistance")
+ (version "1.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "textdistance" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0yq3lqn0hh2313z1irbc1apxck0dalvf5k79acwy8irbdibwh8fk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-development-inputs
+ (("rust-assert2" ,rust-assert2-0.3)
+ ("rust-criterion" ,rust-criterion-0.4)
+ ("rust-proptest" ,rust-proptest-1)
+ ("rust-rstest" ,rust-rstest-0.17)
+ ("rust-unicode-segmentation" ,rust-unicode-segmentation-1))))
+ (home-page "https://github.com/life4/textdistance.rs")
+ (synopsis "Lots of algorithms to compare how similar two sequences are")
+ (description
+ "Lots of algorithms to compare how similar two sequences are")
+ (license license:expat)))
+
(define-public rust-tiff-0.8
(package
(name "rust-tiff")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 46/91] gnu: Add rust-coolor-0.5.0.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132B6AC772A8FE21D11C4A3F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-coolor-0.5.0): New variable.

Change-Id: I99d7d496c3d6dc29a0574d1a57df14fdae9e01e8
---
gnu/packages/crates-io.scm | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

Toggle diff (30 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4c246ebedd..4de170feef 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15646,6 +15646,23 @@ (define-public rust-coolor-0.5
(description "conversion between color formats")
(license license:expat)))
+(define-public rust-coolor-0.5.0
+ (package
+ (inherit rust-coolor-0.5)
+ (name "rust-coolor")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "coolor" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bdaqnbpgnr19ma0wi0bkf9smz938ffq0753c662znd0bj07lkdg"))))
+ (arguments
+ `(#:cargo-inputs (("rust-crossterm" ,rust-crossterm-0.23))
+ #:cargo-development-inputs (("rust-crossterm" ,rust-crossterm-0.23)
+ ("rust-rand" ,rust-rand-0.8))))))
+
(define-public rust-copyless-0.1
(package
(name "rust-copyless")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 47/91] gnu: Add rust-deser-hjson-1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213299E10A1F3EC2D2D91F18F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-deser-hjson-1): New variable.

Change-Id: I8deaac334c4328e8eb057abcd4c7c90eec87fffe
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4de170feef..598af20dfd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21181,6 +21181,26 @@ (define-public rust-des-0.6
#:cargo-development-inputs
(("rust-cipher" ,rust-cipher-0.2))))))
+(define-public rust-deser-hjson-1
+ (package
+ (name "rust-deser-hjson")
+ (version "1.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "deser-hjson" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1bacgp2zhyxj6m7hh00sl65b8bripw5nb80jwcniplglzscspq9h"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/Canop/deser-hjson")
+ (synopsis "a Hjson deserializer for Serde")
+ (description "a Hjson deserializer for Serde")
+ (license license:expat)))
+
(define-public rust-deunicode-0.4
(package
(name "rust-deunicode")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 49/91] gnu: Add rust-crokey-0.4.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213286A4023A28DBF14CABC7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-crokey-0.4): New variable.

Change-Id: Idff66a14704c6d2e3378b645041db7c461a42441
---
gnu/packages/crates-io.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d767e5e792..6afc0e5ea1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17158,6 +17158,34 @@ (define-public rust-crokey-proc-macros-0.4
(description "proc macros for the crokey crate")
(license license:expat)))
+(define-public rust-crokey-0.4
+ (package
+ (name "rust-crokey")
+ (version "0.4.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crokey" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1059c97qxd90rd16y27k5jl1aspr9sc0n8bxhqll8plf0zd57w9b"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; error: unrecognized key code "hyphen"
+ #:cargo-inputs (("rust-crokey-proc-macros" ,rust-crokey-proc-macros-0.4)
+ ("rust-crossterm" ,rust-crossterm-0.23)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-serde" ,rust-serde-1))
+ #:cargo-development-inputs (("rust-deser-hjson" ,rust-deser-hjson-1)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://github.com/Canop/crokey")
+ (synopsis
+ "Parse and describe keys - helping incorporate keybindings in terminal applications")
+ (description
+ "Parse and describe keys - helping incorporate keybindings in terminal
+applications")
+ (license license:expat)))
+
(define-public rust-crossbeam-0.8
(package
(name "rust-crossbeam")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 50/91] gnu: Add rust-xcb-0.10.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213249C5006C6E19D1B5FFDAF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-xcb-0.10): New variable.

Change-Id: Ic6deca794915467984c9bfb881225ec1dda5ceb2
---
gnu/packages/crates-io.scm | 23 ++++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6afc0e5ea1..db88019e24 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -85080,10 +85080,31 @@ (define-public rust-xcb-1
"This package provides Rust bindings and wrappers for XCB.")
(license license:expat)))
-(define-public rust-xcb-0.9
+(define-public rust-xcb-0.10
(package
(inherit rust-xcb-1)
(name "rust-xcb")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "xcb" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "171acbbbsr05ilw7ih0cc79qysci5pv91zyrdlfcs87pdncjn7kp"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-quick-xml" ,rust-quick-xml-0.22)
+ ("rust-x11" ,rust-x11-2))))))
+
+(define-public rust-xcb-0.9
+ (package
+ (inherit rust-xcb-0.10)
+ (name "rust-xcb")
(version "0.9.0")
(source
(origin
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 52/91] gnu: Add rust-termux-clipboard-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21320F9E3EA5BB98B3B8D329F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-termux-clipboard-0.1): New variable.

Change-Id: I459da5084e0e35754d13de1dd8944733e7f581a1
---
gnu/packages/crates-io.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)

Toggle diff (32 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 245bb85a86..72cc4fcfd7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73639,6 +73639,25 @@ (define-public rust-termtree-0.4
(description "Visualize tree-like data on the command-line.")
(license license:expat)))
+(define-public rust-termux-clipboard-0.1
+ (package
+ (name "rust-termux-clipboard")
+ (version "0.1.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "termux-clipboard" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vz3b2c0ra7x5wg6i56247j8z58wkv3dknznjidk34rjr89zyslz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t))
+ (home-page "https://github.com/Canop/termux-clipboard")
+ (synopsis "Access to Android clipboard using Termux API")
+ (description "Access to Android clipboard using Termux API")
+ (license license:expat)))
+
(define-public rust-test-assembler-0.1
(package
(name "rust-test-assembler")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 53/91] gnu: Add rust-terminal-clipboard-0.3.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213279764DC42F700068055FF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-terminal-clipboard-0.3): New variable.

Change-Id: I251cd479072c80200da797c93082c0e4381391f7
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 72cc4fcfd7..b2ac3b8784 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73485,6 +73485,29 @@ (define-public rust-termimad-0.20
(description "Markdown Renderer for the Terminal.")
(license license:expat)))
+(define-public rust-terminal-clipboard-0.3
+ (package
+ (name "rust-terminal-clipboard")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "terminal-clipboard" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1pyiwysh3ibq3gfq86gri3kjyhy5qd5pfbnkqxri28p9506bv9sq"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-clipboard-win" ,rust-clipboard-win-4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-termux-clipboard" ,rust-termux-clipboard-0.1)
+ ("rust-x11-clipboard" ,rust-x11-clipboard-0.5.3))))
+ (inputs (list libxcb))
+ (home-page "https://github.com/Canop/terminal-clipboard")
+ (synopsis "a minimal cross-platform clipboard")
+ (description "a minimal cross-platform clipboard")
+ (license license:expat)))
+
(define-public rust-terminal-size-0.2
(package
(name "rust-terminal-size")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 48/91] gnu: Add rust-crokey-proc-macros-0.4.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132700324F8386C513D77B0F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-crokey-proc-macros-0.4): New variable.

Change-Id: I122c6fb23c34ffa2e872ae318d28e4d372493822
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 598af20dfd..d767e5e792 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -17136,6 +17136,28 @@ (define-public rust-critical-section-0.2
(description "This package provides a critical section abstraction.")
(license (list license:expat license:asl2.0))))
+(define-public rust-crokey-proc-macros-0.4
+ (package
+ (name "rust-crokey-proc-macros")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "crokey-proc_macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0y5c874c2ah3lj6xmxqj0wa06ib13xpajc6gzgrwm291mbpk4j2d"))))
+ (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/Canop/crokey")
+ (synopsis "proc macros for the crokey crate")
+ (description "proc macros for the crokey crate")
+ (license license:expat)))
+
(define-public rust-crossbeam-0.8
(package
(name "rust-crossbeam")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 54/91] gnu: Add rust-termimad-0.23.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132F0B249A246D24A338B73F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-termimad-0.23): New variable.

Change-Id: I39370011db1df264a7deb3aa53a030074b211491
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++++++++------
1 file changed, 30 insertions(+), 6 deletions(-)

Toggle diff (65 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b2ac3b8784..b904bf0453 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -73454,8 +73454,37 @@ (define-public rust-termcolor-0.3
#:cargo-inputs
(("rust-wincolor" ,rust-wincolor-0.1))))))
+(define-public rust-termimad-0.23
+ (package
+ (name "rust-termimad")
+ (version "0.23.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "termimad" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "00i29vky1fard6vm5hdbmyc6iv63igp8v59iwjkwslpwk4qqhcif"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-coolor" ,rust-coolor-0.5.0)
+ ("rust-crossbeam" ,rust-crossbeam-0.8)
+ ("rust-crossterm" ,rust-crossterm-0.23)
+ ("rust-crokey" ,rust-crokey-0.4)
+ ("rust-minimad" ,rust-minimad-0.12)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-terminal-clipboard" ,rust-terminal-clipboard-0.3)
+ ("rust-cli-log" ,rust-cli-log-2)
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))
+ (inputs (list libxcb))
+ (home-page "https://github.com/Canop/termimad")
+ (synopsis "Markdown Renderer for the Terminal")
+ (description "Markdown Renderer for the Terminal.")
+ (license license:expat)))
+
(define-public rust-termimad-0.20
(package
+ (inherit rust-termimad-0.23)
(name "rust-termimad")
(version "0.20.6")
(source (origin
@@ -73470,7 +73499,6 @@ (define-public rust-termimad-0.20
'(begin (substitute* "Cargo.toml"
(("=([[:digit:]]+\\.[[:digit:]]+\\.[[:digit:]]+)" _ version)
(string-append "^" version)))))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t ; Cut the dependency graph
#:cargo-inputs
@@ -73479,11 +73507,7 @@ (define-public rust-termimad-0.20
("rust-crossterm" ,rust-crossterm-0.23)
("rust-minimad" ,rust-minimad-0.9)
("rust-thiserror" ,rust-thiserror-1)
- ("rust-unicode-width" ,rust-unicode-width-0.1))))
- (home-page "https://github.com/Canop/termimad")
- (synopsis "Markdown Renderer for the Terminal")
- (description "Markdown Renderer for the Terminal.")
- (license license:expat)))
+ ("rust-unicode-width" ,rust-unicode-width-0.1))))))
(define-public rust-terminal-clipboard-0.3
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 55/91] gnu: Add rust-core-affinity-0.8.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21323358834B1568F5E29EB5F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-core-affinity-0.8): New variable.

Change-Id: I84ce578d8b710a6a1d3ddfdb3feeb91a5c363d33
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index b904bf0453..3a1279a49d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -15754,6 +15754,27 @@ (define-public rust-cordic-0.1
numbers using the CORDIC method.")
(license license:bsd-3)))
+(define-public rust-core-affinity-0.8
+ (package
+ (name "rust-core-affinity")
+ (version "0.8.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "core_affinity" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0113rfzyvjpl1camxnrf92pn9vakhn9zqvgir0wgrqawcgsr4a32"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+ ("rust-num-cpus" ,rust-num-cpus-1)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/Elzair/core_affinity_rs")
+ (synopsis "Manages CPU affinities")
+ (description "Manages CPU affinities")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-coreaudio-rs-0.10
(package
(name "rust-coreaudio-rs")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 56/91] gnu: Add rust-raw-sync-0.1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21325C4E14AB595EF02739C1F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-raw-sync-0.1): New variable.

Change-Id: I180a523afe6eb84ad6811da207851542f08e9d82
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3a1279a49d..0ac92014f0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57169,6 +57169,29 @@ (define-public rust-raw-cpuid-8
("rust-libc" ,rust-libc-0.2)
("rust-rustversion" ,rust-rustversion-0.1))))))
+(define-public rust-raw-sync-0.1
+ (package
+ (name "rust-raw-sync")
+ (version "0.1.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "raw_sync" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1k48aq0xgdgh2zq5mzj44rk136jn0111d584qx8hm60zavivsd1a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-0.1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-winapi" ,rust-winapi-0.3))))
+ (home-page "https://github.com/elast0ny/raw_sync-rs")
+ (synopsis "Lightweight wrapper around OS synchronization primitives")
+ (description "Lightweight wrapper around OS synchronization primitives")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rawpointer-0.2
(package
(name "rust-rawpointer")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 57/91] gnu: Add rust-raw-cpuid-11.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132C05D77278CCEEB5C208AF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-raw-cpuid-11): New variable.

Change-Id: I630dc7ab7a225dfdeafe0c13e3669d61dbb33791
---
gnu/packages/crates-io.scm | 45 +++++++++++++++++++++++++++++---------
1 file changed, 35 insertions(+), 10 deletions(-)

Toggle diff (74 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0ac92014f0..78703b8bc3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -57111,8 +57111,42 @@ (define-public rust-randomize-4
(license
(list license:zlib license:asl2.0 license:expat))))
+(define-public rust-raw-cpuid-11
+ (package
+ (name "rust-raw-cpuid")
+ (version "11.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "raw-cpuid" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wfy57a5qd8yswyw8cqzvv1v9nw7wqh1lygla52w8hldcg2ag1lx"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-clap" ,rust-clap-4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-termimad" ,rust-termimad-0.23))
+ #:cargo-development-inputs
+ (("rust-core-affinity" ,rust-core-affinity-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-phf" ,rust-phf-0.11)
+ ("rust-rustversion" ,rust-rustversion-1))))
+ (home-page "https://github.com/gz/rust-cpuid")
+ (synopsis "Library to parse the x86 CPUID instruction, written in Rust")
+ (description
+ "This package provides a library to parse the x86 CPUID instruction,
+written in Rust with no external dependencies. The implementation closely
+resembles the Intel CPUID manual description. The library does only depend on
+libcore.")
+ (license license:expat)))
+
(define-public rust-raw-cpuid-10
(package
+ (inherit rust-raw-cpuid-11)
(name "rust-raw-cpuid")
(version "10.7.0")
(source (origin
@@ -57122,7 +57156,6 @@ (define-public rust-raw-cpuid-10
(sha256
(base32
"0ckkg47m8wbdinqg4z4dx7ipi3d7fjxdnrwzikx70x46rdwpcabc"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-bitflags" ,rust-bitflags-1)
@@ -57135,15 +57168,7 @@ (define-public rust-raw-cpuid-10
(("rust-core-affinity" ,rust-core-affinity-0.5)
("rust-libc" ,rust-libc-0.2)
("rust-phf" ,rust-phf-0.11)
- ("rust-rustversion" ,rust-rustversion-1))))
- (home-page "https://github.com/gz/rust-cpuid")
- (synopsis "Library to parse the x86 CPUID instruction, written in Rust")
- (description
- "This package provides a library to parse the x86 CPUID instruction,
-written in Rust with no external dependencies. The implementation closely
-resembles the Intel CPUID manual description. The library does only depend on
-libcore.")
- (license license:expat)))
+ ("rust-rustversion" ,rust-rustversion-1))))))
(define-public rust-raw-cpuid-8
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 58/91] gnu: Add rust-drm-fourcc-2.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21326C26768210D998FA86DCF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-drm-fourcc-2): New variable.

Change-Id: If0d279709a29f3d0920ae17a60368b841d505afe
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Toggle diff (36 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 78703b8bc3..26029b94ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22674,6 +22674,29 @@ (define-public rust-draw-state-0.8
(description "Graphics state blocks for gfx-rs.")
(license license:asl2.0)))
+(define-public rust-drm-fourcc-2
+ (package
+ (name "rust-drm-fourcc")
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm-fourcc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1x76v9a0pkgym4n6cah4barnai9gsssm7gjzxskw2agwibdvrbqa"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.57)
+ ("rust-regex" ,rust-regex-1)
+ ("rust-serde" ,rust-serde-1))))
+ (home-page "https://github.com/danielzfranklin/drm-fourcc-rs")
+ (synopsis "Provides an enum with every valid Direct Rendering Manager
+(DRM) format fourcc")
+ (description "This package provides an enum with every valid Direct
+Rendering Manager (DRM) format fourcc")
+ (license license:expat)))
+
(define-public rust-drop-bomb-0.1
(package
(name "rust-drop-bomb")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 59/91] gnu: Add rust-drm-sys-0.4.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132815CA9FE6FCECDD50925F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-drm-sys-0.4): New variable.

Change-Id: I1836bfb72b54529d51552ddd4eecbc23c161668b
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26029b94ce..573de8ae33 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22697,6 +22697,27 @@ (define-public rust-drm-fourcc-2
Rendering Manager (DRM) format fourcc")
(license license:expat)))
+(define-public rust-drm-sys-0.4
+ (package
+ (name "rust-drm-sys")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bg4f95lg8hb10las2cab55wghhmqh9hc7jc9hinsw3bkmkz2s8k"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.59)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (home-page "")
+ (synopsis "Bindings to the Direct Rendering Manager API")
+ (description "Bindings to the Direct Rendering Manager API")
+ (license license:expat)))
+
(define-public rust-drop-bomb-0.1
(package
(name "rust-drop-bomb")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 60/91] gnu: Add rust-drm-ffi-0.5.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213227950082744EC7824955F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-drm-ffi-0.5): New variable.

Change-Id: I8c48b3c0bfd4d9cbe853e6fb0f42bbc68ccbc1c2
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 573de8ae33..c3106c0e1f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22718,6 +22718,27 @@ (define-public rust-drm-sys-0.4
(description "Bindings to the Direct Rendering Manager API")
(license license:expat)))
+(define-public rust-drm-ffi-0.5
+ (package
+ (name "rust-drm-ffi")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm-ffi" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "09fmv3qg5vmk9g17a3j1gjx8vf8qrwrnpvzq3f57mqlhgcdlhlhk"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-drm-sys" ,rust-drm-sys-0.4)
+ ("rust-nix" ,rust-nix-0.26))))
+ (home-page "https://github.com/Smithay/drm-rs")
+ (synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
+ (description
+ "Safe, low-level bindings to the Direct Rendering Manager API")
+ (license license:expat)))
+
(define-public rust-drop-bomb-0.1
(package
(name "rust-drop-bomb")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 51/91] gnu: Add rust-x11-clipboard-0.5.3.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132E40F57B54DD4F02878C1F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-x11-clipboard-0.5.3): New variable.

Change-Id: I8d3c1b773cd4ba19388f06e15aeb27c26f66c1d3
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db88019e24..245bb85a86 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84784,6 +84784,26 @@ (define-public rust-wyz-0.2
"This package provides a collection of utility functions.")
(license license:expat)))
+(define-public rust-x11-clipboard-0.5.3
+ (package
+ (name "rust-x11-clipboard")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "x11-clipboard" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0g35qcmy7ayp3clbqnvvqjc7h02y9q2z294868c6mj0ap2vnhc27"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs (("rust-xcb" ,rust-xcb-0.10))))
+ (home-page "https://github.com/quininer/x11-clipboard")
+ (synopsis "x11 clipboard support for Rust.")
+ (description "x11 clipboard support for Rust.")
+ (license license:expat)))
+
(define-public rust-x11rb-0.12
(package
(name "rust-x11rb")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 76/91] gnu: Add rust-shared-memory-extended-0.13.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21324434C5826C96584A45D7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-shared-memory-extended-0.13): New variable.

Change-Id: I4570f4f6d0b0b0c97b41026349dfed7c4312a6e1
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 31efa554ce..204d340ed8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -66581,6 +66581,35 @@ (define-public rust-shared-library-0.1
"This package allows easy binding to, and loading of, shared libraries.")
(license (list license:asl2.0 license:expat))))
+(define-public rust-shared-memory-extended-0.13
+ (package
+ (name "rust-shared-memory-extended")
+ (version "0.13.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "shared_memory_extended" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vq8xlxlllfhmgqdbgi588a4d8dh21vrcl0x8y2lzrivkb77wk80"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-nix" ,rust-nix-0.26)
+ ("rust-rand" ,rust-rand-0.8)
+ ("rust-win-sys" ,rust-win-sys-0.3))
+ #:cargo-development-inputs (("rust-clap" ,rust-clap-4)
+ ("rust-env-logger" ,rust-env-logger-0.10)
+ ("rust-raw-sync" ,rust-raw-sync-0.1))))
+ (home-page "https://github.com/phil-opp/shared_memory")
+ (synopsis "A user friendly crate that allows you to share memory between
+processes")
+ (description "This package provides a user friendly crate that allows you
+to share memory between processes")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-shell-escape-0.1
(package
(name "rust-shell-escape")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 71/91] gnu: Add rust-windows-i686-msvc-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21323DA527158C0280348F23F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-i686-msvc-0.34): New variable.

Change-Id: I2432297436b276469588643b63887a3270989bee
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d77e08d8ce..43e95a14e7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84236,16 +84236,30 @@ (define-public rust-windows-i686-msvc-0.36
(base32
"097h2a7wig04wbmpi3rz1akdy4s8gslj5szsx8g2v0dj91qr3rz2"))))))
-(define-public rust-windows-i686-msvc-0.32
+(define-public rust-windows-i686-msvc-0.34
(package
(inherit rust-windows-i686-msvc-0.36)
(name "rust-windows-i686-msvc")
- (version "0.32.0")
+ (version "0.34.0")
(source (origin
(inherit (package-source rust-windows-i686-msvc-0.36))
(method url-fetch)
(uri (crate-uri "windows_i686_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0mk92rzdvjks01v8d5dkh1yp9syf9f0khkf168im4lq4lwmx7ncw"))))))
+
+(define-public rust-windows-i686-msvc-0.32
+ (package
+ (inherit rust-windows-i686-msvc-0.34)
+ (name "rust-windows-i686-msvc")
+ (version "0.32.0")
+ (source (origin
+ (inherit (package-source rust-windows-i686-msvc-0.34))
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0wj1wi01fc8hrasbakjcq8y5a7ynw9l2mcw08svmsq823axi2v0l"))))))
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 78/91] gnu: Add rust-cairo-sys-rs-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132132CB7E83164D2F08875F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-cairo-sys-rs-0.18): New variable.

Change-Id: I330896f186ac32ffb23d459e07e48b881921e017
---
gnu/packages/crates-graphics.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)

Toggle diff (37 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 6a8426c255..4c7cba479d 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -347,6 +347,30 @@ (define-public rust-avif-serialize-0.6
#:cargo-inputs
(("rust-arrayvec" ,rust-arrayvec-0.5))))))
+(define-public rust-cairo-sys-rs-0.18
+ (package
+ (name "rust-cairo-sys-rs")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-sys-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0lfsxl7ylw3phbnwmz3k58j1gnqi6kc2hdc7g3bb7f4hwnl9yp38"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-system-deps" ,rust-system-deps-6)
+ ("rust-winapi" ,rust-winapi-0.3)
+ ("rust-x11" ,rust-x11-2))))
+ (native-inputs (list pkg-config cairo))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings to libcairo")
+ (description "FFI bindings to libcairo")
+ (license license:expat)))
+
(define-public rust-cgl-0.3
(package
(name "rust-cgl")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 62/91] gnu: Add rust-intmap-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132051B6FDD15ED3F0909EBF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-intmap-0.7): New variable.

Change-Id: I3503bfe14877f2e20f35d918a0d4654bd943a367
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d55ce44517..4f9d0b7af5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60789,6 +60789,27 @@ (define-public rust-rust-ini-0.13
(base32 "1hifnbgaz01zja5995chy6vjacbif2m76nlxsisw7y1pxx4c2liy"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-intmap-0.7
+ (package
+ (name "rust-intmap")
+ (version "0.7.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "intmap" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1ffph34qfda5zxdvy2pvjnip9hgzbjcxw53pvdpcjaxc8n7z4lmf"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-ordermap" ,rust-ordermap-0.2)
+ ("rust-rand" ,rust-rand-0.8))))
+ (home-page "https://github.com/JesperAxelsson/rust-intmap")
+ (synopsis "Specialized HashMap for u64 keys")
+ (description "Specialized @code{HashMap} for u64 keys")
+ (license license:expat)))
+
(define-public rust-rustbox-0.11
(package
(name "rust-rustbox")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 72/91] gnu: Add rust-windows-i686-gnu-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132804406F5C79952C217B8F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-i686-gnu-0.34): New variable.

Change-Id: I0086f596ea62f934745013b2c4882a7efcc76279
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43e95a14e7..c080c9751d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84155,16 +84155,30 @@ (define-public rust-windows-i686-gnu-0.36
(base32
"1dm3svxfzamrv6kklyda9c3qylgwn5nwdps6p0kc9x6s077nq3hq"))))))
-(define-public rust-windows-i686-gnu-0.32
+(define-public rust-windows-i686-gnu-0.34
(package
(inherit rust-windows-i686-gnu-0.36)
(name "rust-windows-i686-gnu")
- (version "0.32.0")
+ (version "0.34.0")
(source (origin
(inherit (package-source rust-windows-i686-gnu-0.36))
(method url-fetch)
(uri (crate-uri "windows_i686_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1vc8hr4hm1x89h997gwfq5q9kj1j5gj4pxdlv4lr3dxdb7kzsr15"))))))
+
+(define-public rust-windows-i686-gnu-0.32
+ (package
+ (inherit rust-windows-i686-gnu-0.34)
+ (name "rust-windows-i686-gnu")
+ (version "0.32.0")
+ (source (origin
+ (inherit (package-source rust-windows-i686-gnu-0.34))
+ (method url-fetch)
+ (uri (crate-uri "windows_i686_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"05g6kpdfxwxnw2gn1nrd7bsf5997rci0k3h3nqby168ph5l1qwba"))))))
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 79/91] gnu: Add rust-cairo-rs-0.18.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132D0E6EDAA1016BFD1CD02F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-cairo-rs-0.18): New variable.

Change-Id: I8d2755ffd74eab98085e5f7e8faf8f66429adfe7
---
gnu/packages/crates-graphics.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 4c7cba479d..503716ceb6 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -347,6 +347,33 @@ (define-public rust-avif-serialize-0.6
#:cargo-inputs
(("rust-arrayvec" ,rust-arrayvec-0.5))))))
+(define-public rust-cairo-rs-0.18
+ (package
+ (name "rust-cairo-rs")
+ (version "0.18.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "cairo-rs" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0k8wfv2ri8i417pwb1mvdl51x02nsx52f31rxzg7ivn0m3gnc10w"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-2)
+ ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
+ ("rust-freetype-rs" ,rust-freetype-rs-0.32)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-float-eq" ,rust-float-eq-1)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-thiserror" ,rust-thiserror-1))))
+ (native-inputs (list pkg-config glib cairo))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings for the Cairo library")
+ (description "Rust bindings for the Cairo library")
+ (license license:expat)))
+
(define-public rust-cairo-sys-rs-0.18
(package
(name "rust-cairo-sys-rs")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 77/91] gnu: Add rust-sysinfo-0.29.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132E47035D7AA445070D00EF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-sysinfo-0.29): New variable.

Change-Id: Ib1fb743b330779b753c233791b04af10e06c23db
---
gnu/packages/crates-graphics.scm | 34 ++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)

Toggle diff (47 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 79922722a9..6a8426c255 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -2655,6 +2655,40 @@ (define-public rust-smithay-clipboard-0.6
applications.")
(license license:expat)))
+(define-public rust-sysinfo-0.29
+ (package
+ (name "rust-sysinfo")
+ (version "0.29.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "sysinfo" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "19cbs7d7fcq8cpfpr94n68h04d02lab8xg76j6la7b90shad260a"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; some require root access
+ #:cargo-inputs
+ (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-ntapi" ,rust-ntapi-0.4)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rayon" ,rust-rayon-1)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs (("rust-serde-json" ,rust-serde-json-1)
+ ("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/GuillaumeGomez/sysinfo")
+ (synopsis
+ "Library to get system information such as processes, CPUs, disks,
+components and networks")
+ (description
+ "Library to get system information such as processes, CPUs, disks,
+components and networks")
+ (license license:expat)))
+
(define-public rust-textdistance-1
(package
(name "rust-textdistance")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 73/91] gnu: Add rust-windows-aarch64-msvc-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132F5BFF9ECD2DC68288D11F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-aarch64-msvc-0.34): New variable.

Change-Id: I643d92617d8b1b19792a855135a9abe85d3cf764
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c080c9751d..7bcbe69be0 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84074,16 +84074,30 @@ (define-public rust-windows-aarch64-msvc-0.36
(sha256
(base32 "0ixaxs2c37ll2smprzh0xq5p238zn8ylzb3lk1zddqmd77yw7f4v"))))))
-(define-public rust-windows-aarch64-msvc-0.32
+(define-public rust-windows-aarch64-msvc-0.34
(package
(inherit rust-windows-aarch64-msvc-0.36)
(name "rust-windows-aarch64-msvc")
- (version "0.32.0")
+ (version "0.34.0")
(source (origin
(inherit (package-source rust-windows-aarch64-msvc-0.36))
(method url-fetch)
(uri (crate-uri "windows_aarch64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "07c8vcqcvkmm2d921488w05dyjl047jc03xddyszy6hj83kzpkqp"))))))
+
+(define-public rust-windows-aarch64-msvc-0.32
+ (package
+ (inherit rust-windows-aarch64-msvc-0.34)
+ (name "rust-windows-aarch64-msvc")
+ (version "0.32.0")
+ (source (origin
+ (inherit (package-source rust-windows-aarch64-msvc-0.34))
+ (method url-fetch)
+ (uri (crate-uri "windows_aarch64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1x8bnafz15ksgpbjbgk1l1j2jx4rq4a2ylzcahb1jhy4n59jgsfq"))))))
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 61/91] gnu: Add rust-drm-0.9.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21329A1F8075ABB1C7BA2FAEF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-drm-0.9): New variable.

Change-Id: I2ac8511b59acd96e5f88319ff8c881aebf91b465
---
gnu/packages/crates-io.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c3106c0e1f..d55ce44517 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -22739,6 +22739,32 @@ (define-public rust-drm-ffi-0.5
"Safe, low-level bindings to the Direct Rendering Manager API")
(license license:expat)))
+(define-public rust-drm-0.9
+ (package
+ (name "rust-drm")
+ (version "0.9.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "drm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0vzmknzhp12xp86phhnm0cs4jdq0ilxmgsybwk2x1v5wyjg1bygd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-drm-ffi" ,rust-drm-ffi-0.5)
+ ("rust-drm-fourcc" ,rust-drm-fourcc-2)
+ ("rust-nix" ,rust-nix-0.26))
+ #:cargo-development-inputs (("rust-image" ,rust-image-0.23)
+ ("rust-rustyline" ,rust-rustyline-8))))
+ (home-page "https://github.com/Smithay/drm-rs")
+ (synopsis "Safe, low-level bindings to the Direct Rendering Manager API")
+ (description
+ "Safe, low-level bindings to the Direct Rendering Manager API")
+ (license license:expat)))
+
(define-public rust-drop-bomb-0.1
(package
(name "rust-drop-bomb")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 63/91] gnu: Add rust-interprocess-1.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132F35B13D8D1E8887DBD73F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-interprocess-1): New variable.

Change-Id: I9d126e64b664da8983c021140f1c5ba6d1a08b37
---
gnu/packages/crates-io.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)

Toggle diff (48 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f9d0b7af5..1dc9a051f8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60810,6 +60810,41 @@ (define-public rust-intmap-0.7
(description "Specialized @code{HashMap} for u64 keys")
(license license:expat)))
+(define-public rust-interprocess-1
+ (package
+ (name "rust-interprocess")
+ (version "1.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "interprocess" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1yrq3xmyf8c506z2fkiyqcxiqv21rap72fz6npizybz47czm7wl1"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; expected tuple struct or tuple variant
+ #:cargo-inputs (("rust-blocking" ,rust-blocking-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-futures-core" ,rust-futures-core-0.3)
+ ("rust-futures-io" ,rust-futures-io-0.3)
+ ("rust-intmap" ,rust-intmap-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-once-cell" ,rust-once-cell-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-spinning" ,rust-spinning-0.1)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-to-method" ,rust-to-method-1)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-winapi" ,rust-winapi-0.3))
+ #:cargo-development-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-futures" ,rust-futures-0.3)
+ ("rust-tokio" ,rust-tokio-1))))
+ (home-page "https://github.com/kotauskas/interprocess")
+ (synopsis "Interprocess communication toolkit")
+ (description "Interprocess communication toolkit")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-rustbox-0.11
(package
(name "rust-rustbox")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 64/91] gnu: Add rust-rustbus-derive-0.5.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132556FDDF594F0819DCB14F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-rustbus-derive-0.5): New variable.

Change-Id: I92cf971298379ce0b2cf4d8fc21250e978ec5d34
---
gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1dc9a051f8..4e5bd38780 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60871,6 +60871,27 @@ (define-public rust-rustbox-0.11
library.")
(license license:expat)))
+(define-public rust-rustbus-derive-0.5
+ (package
+ (name "rust-rustbus-derive")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustbus_derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qlsw8454r1nngas140d6cdar0n0m8j4c4bb0ribp5x2m1anmjwd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/KillingSpark/rustbus")
+ (synopsis "derive proc-macros for the rustbus crate")
+ (description "derive proc-macros for the rustbus crate")
+ (license license:expat)))
+
(define-public rust-rustc-ap-rustc-lexer-725
(package
(name "rust-rustc-ap-rustc-lexer")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 65/91] gnu: Add rust-rustbus-0.19.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132D5D4CECA1FC9823FB408F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-rustbus-0.19): New variable.

Change-Id: I9ae866aa61f284921c292848da23d4938c796835
---
gnu/packages/crates-io.scm | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)

Toggle diff (43 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4e5bd38780..a62cdc66cf 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60892,6 +60892,36 @@ (define-public rust-rustbus-derive-0.5
(description "derive proc-macros for the rustbus crate")
(license license:expat)))
+(define-public rust-rustbus-0.19
+ (package
+ (name "rust-rustbus")
+ (version "0.19.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustbus" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "10gjc9klmnb80pbz0rxy45vdqyrv4aicvzmrz9bns30x4hgcam20"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; GuixSD does not provide a symlink from /var/run to /run.
+ '(substitute* "src/connection.rs"
+ (("/run/dbus/system_bus_socket" all)
+ (string-append "/var" all))))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:tests? #f ; no path to `/run/dbus/system_bus_socket` neither to /var/...
+ #:cargo-inputs `(("rust-nix" ,rust-nix-0.26)
+ ("rust-rustbus-derive" ,rust-rustbus-derive-0.5)
+ ("rust-thiserror" ,rust-thiserror-1))
+ #:cargo-development-inputs `(("rust-criterion" ,rust-criterion-0.3))))
+ (home-page "https://github.com/KillingSpark/rustbus")
+ (synopsis "An implementation of the dbus protocol")
+ (description "An implementation of the dbus protocol")
+ (license license:expat)))
+
(define-public rust-rustc-ap-rustc-lexer-725
(package
(name "rust-rustc-ap-rustc-lexer")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 66/91] gnu: Add rust-windows-x86-64-msvc-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21328C198DA9EB7707017B7BF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-x86-64-msvc-0.34): New variable.

Change-Id: I7cb4327576ff89d190ba321c7d9ea36f962e9692
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a62cdc66cf..f1f613f1b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84716,16 +84716,30 @@ (define-public rust-windows-x86-64-msvc-0.36
(base32
"103n3xijm5vr7qxr1dps202ckfnv7njjnnfqmchg8gl5ii5cl4f8"))))))
-(define-public rust-windows-x86-64-msvc-0.32
+(define-public rust-windows-x86-64-msvc-0.34
(package
(inherit rust-windows-x86-64-msvc-0.36)
(name "rust-windows-x86-64-msvc")
- (version "0.32.0")
+ (version "0.34.0")
(source (origin
(inherit (package-source rust-windows-x86-64-msvc-0.36))
(method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1scxv2b9id3gj6bvpzdax496lng6x8bnm3gqx8fx068qqb63i5fi"))))))
+
+(define-public rust-windows-x86-64-msvc-0.32
+ (package
+ (inherit rust-windows-x86-64-msvc-0.34)
+ (name "rust-windows-x86-64-msvc")
+ (version "0.32.0")
+ (source (origin
+ (inherit (package-source rust-windows-x86-64-msvc-0.34))
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_msvc" version))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"05l392h518dxn808dc1zkv6d0r9z38q68qqc0ix9fs9741v28jjh"))))))
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 68/91] gnu: Add rust-windows-tokens-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132831BF3AFB562AC8210AFF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-tokens-0.34): New variable.

Change-Id: I9be6135c2527200281889bc02e5a5b7913bbc03c
---
gnu/packages/crates-io.scm | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)

Toggle diff (51 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 94c3393236..057667ace8 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84527,8 +84527,27 @@ (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.34
+ (package
+ (name "rust-windows-tokens")
+ (version "0.34.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-tokens" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01f6ym6z5l1g2488za5w8p1scia5dzcrmk96gnf4pjgp8w4k1yq2"))))
+ (build-system cargo-build-system)
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Code gen support for the windows crate")
+ (description "This package provides code generation support for the
+windows crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-tokens-0.32
(package
+ (inherit rust-windows-tokens-0.34)
(name "rust-windows-tokens")
(version "0.32.0")
(source (origin
@@ -84537,15 +84556,7 @@ (define-public rust-windows-tokens-0.32
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t))
- (home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Code gen support for the windows crate")
- (description "This package provides code generation support for the
-windows crate.")
- (license (list license:expat license:asl2.0))))
+ "1rrqbxjkyk6h6p6jjzbcxr0mhqbz0yfndd2s2dsgmbl75f4yy7gn"))))))
(define-public rust-windows-x86-64-gnu-0.48
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 81/91] gnu: Add rust-gbm-0.12.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213235768B3DF8BBE840AD44F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-gbm-0.12): New variable.

Change-Id: I139e802bb8fcbcbc3e3a0ffe5fa75d91c9718948
---
gnu/packages/crates-graphics.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index bf483b4963..c89db5e013 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -891,6 +891,33 @@ (define-public rust-gbm-sys-0.2
(description "Bindgen generated unsafe libgbm wrapper")
(license license:expat)))
+(define-public rust-gbm-0.12
+ (package
+ (name "rust-gbm")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gbm" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1imkac49jjlng614jwyl273k9f9zadpby4a1hb7ncsc7vaf3iv7j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1)
+ ("rust-drm" ,rust-drm-0.9)
+ ("rust-drm-fourcc" ,rust-drm-fourcc-2)
+ ("rust-gbm-sys" ,rust-gbm-sys-0.2)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-wayland-backend" ,rust-wayland-backend-0.1.3)
+ ("rust-wayland-server" ,rust-wayland-server-0.30))
+ #:cargo-development-inputs (("rust-drm" ,rust-drm-0.9))))
+ (native-inputs (list pkg-config gtk))
+ (home-page "https://github.com/Smithay/gbm.rs")
+ (synopsis "libgbm bindings for rust")
+ (description "libgbm bindings for rust")
+ (license license:expat)))
+
(define-public rust-gfx-0.18
(package
(name "rust-gfx")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 82/91] gnu: Add rust-gdk4-sys-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132E0B76FEF14346B9DF6F5F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-gdk4-sys-0.7): New variable.

Change-Id: If958f0c9c1919b0f47ff4543f3fcb82758837767
---
gnu/packages/crates-graphics.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)

Toggle diff (42 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index c89db5e013..ce73611433 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -918,6 +918,35 @@ (define-public rust-gbm-0.12
(description "libgbm bindings for rust")
(license license:expat)))
+(define-public rust-gdk4-sys-0.7
+ (package
+ (name "rust-gdk4-sys")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1w7yvir565sjrrw828lss07749hfpfsr19jdjzwivkx36brl7ayv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `GDK_MEMORY_A16` not defined in gcc
+ #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
+ ("rust-gio-sys" ,rust-gio-sys-0.18)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.18)
+ ("rust-pkg-config" ,rust-pkg-config-0.3)
+ ("rust-system-deps" ,rust-system-deps-6))))
+ (native-inputs (list pkg-config glib cairo pango gdk-pixbuf gtk))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings of GDK 4")
+ (description "FFI bindings of GDK 4")
+ (license license:expat)))
+
(define-public rust-gfx-0.18
(package
(name "rust-gfx")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 83/91] gnu: Add rust-gdk4-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132B194DE6243FD27CC7689F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-gdk4-0.7): New variable.

Change-Id: Ie4a07597abb084456809fa2d7746942a3ea5bd74
---
gnu/packages/crates-graphics.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index ce73611433..b12fbda66a 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -918,6 +918,34 @@ (define-public rust-gbm-0.12
(description "libgbm bindings for rust")
(license license:expat)))
+(define-public rust-gdk4-0.7
+ (package
+ (name "rust-gdk4")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gdk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1xiacc63p73apr033gjrb9dsk0y4yxnsljwfxbwfry41snd03nvy"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18)
+ ("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-gl" ,rust-gl-0.14)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.18))))
+ (native-inputs (list pkg-config glib gtk gtk+))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings of the GDK 4 library")
+ (description "Rust bindings of the GDK 4 library")
+ (license license:expat)))
+
(define-public rust-gdk4-sys-0.7
(package
(name "rust-gdk4-sys")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 69/91] gnu: Add rust-windows-interface-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21327FDF66B8137E9B037715F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-interface-0.34): New variable.

Change-Id: I66ab72f217f6a3c0e4112a8a0c056d4181725506
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 057667ace8..d769fc645f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84335,6 +84335,28 @@ (define-public rust-windows-interface-0.46
crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-windows-interface-0.34
+ (package
+ (name "rust-windows-interface")
+ (version "0.34.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-interface" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1whji6q84dy6cnk7s1035fcvvw4vl621yfibkpp0rl4vddmxacpm"))))
+ (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 "The interface macro for the windows crate")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-sys-0.48
(package
(name "rust-windows-sys")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 67/91] gnu: Add rust-windows-x86-64-gnu-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132BC56052E33680F659CF0F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-x86-64-gnu-0.34): New variable.

Change-Id: Ic0657832a01b688e5cc811987d7e37f4d704badb
---
gnu/packages/crates-io.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)

Toggle diff (39 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f1f613f1b5..94c3393236 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84600,16 +84600,30 @@ (define-public rust-windows-x86-64-gnu-0.36
(base32
"1qfrck3jnihymfrd01s8260d4snql8ks2p8yaabipi3nhwdigkad"))))))
-(define-public rust-windows-x86-64-gnu-0.32
+(define-public rust-windows-x86-64-gnu-0.34
(package
(inherit rust-windows-x86-64-gnu-0.36)
(name "rust-windows-x86-64-gnu")
- (version "0.32.0")
+ (version "0.34.0")
(source (origin
(inherit (package-source rust-windows-x86-64-gnu-0.36))
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1x71512gic645ri51y6ivw1wb72h38agrvqrdlsqvvi7wbm6vkng"))))))
+
+(define-public rust-windows-x86-64-gnu-0.32
+ (package
+ (inherit rust-windows-x86-64-gnu-0.34)
+ (name "rust-windows-x86-64-gnu")
+ (version "0.32.0")
+ (source (origin
+ (inherit (package-source rust-windows-x86-64-gnu-0.34))
+ (method url-fetch)
+ (uri (crate-uri "windows_x86_64_gnu" version))
+ (file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1g34xhcayig9sndq3555w95q6lr7jr839zxv6l365ijlfhpv24n9"))))))
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 70/91] gnu: Add rust-windows-implement-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213292FF70D6BE1713063860F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-implement-0.34): New variable.

Change-Id: Ib418a4eae46f5df3945a3888f27c5fc6f2cab7e1
---
gnu/packages/crates-io.scm | 36 ++++++++++++++++++++++++------------
1 file changed, 24 insertions(+), 12 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d769fc645f..d77e08d8ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -84288,8 +84288,31 @@ (define-public rust-windows-implement-0.46
windows crate.")
(license (list license:expat license:asl2.0))))
+(define-public rust-windows-implement-0.34
+ (package
+ (name "rust-windows-implement")
+ (version "0.34.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows-implement" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "13amcdc4bv01xpb9bq9hyk2zqnmic2kf993m1gbfqdmmn19zykjm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; windows namespace is not availeable
+ #:cargo-inputs (("rust-syn" ,rust-syn-1)
+ ("rust-windows-tokens" ,rust-windows-tokens-0.34))))
+ (home-page "https://github.com/microsoft/windows-rs")
+ (synopsis "Implement macro for the windows crate")
+ (description "This package provides the implement macro for the windows
+crate.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-windows-implement-0.32
(package
+ (inherit rust-windows-implement-0.34)
(name "rust-windows-implement")
(version "0.32.0")
(source (origin
@@ -84298,18 +84321,7 @@ (define-public rust-windows-implement-0.32
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz"))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t
- #:cargo-inputs
- (("rust-syn" ,rust-syn-1)
- ("rust-windows-tokens" ,rust-windows-tokens-0.32))))
- (home-page "https://github.com/microsoft/windows-rs")
- (synopsis "Implement macro for the windows crate")
- (description "This package provides the implement macro for the windows
-crate.")
- (license (list license:expat license:asl2.0))))
+ "0f3lnjs9rlihin9cjf9y7np1x15c0v09v0cwlw1n7c30145xmciz"))))))
(define-public rust-windows-interface-0.46
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 75/91] gnu: Add rust-win-sys-0.3.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132C0CF7915EA9E457E9535F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-win-sys-0.3): New variable.

Change-Id: I96e112e51921ce7f1d11923d67dcd492b5dd50f1
---
gnu/packages/crates-io.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)

Toggle diff (33 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 620c2a9d0a..31efa554ce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83718,6 +83718,26 @@ (define-public rust-win-crypto-ng-0.5
(description "Safe bindings to Windows Cryptography API: Next Generation")
(license license:bsd-3)))
+(define-public rust-win-sys-0.3
+ (package
+ (name "rust-win-sys")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "win-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1r9b8nxxl6pba24ajrklpqyfnzc8hni9pd4yn00s5ky1k2514ysv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; windows namespace is not availeable
+ #:cargo-inputs (("rust-windows" ,rust-windows-0.34))))
+ (home-page "https://github.com/elast0ny/win-sys")
+ (synopsis "Thin Rust wrapper around some Windows native apis")
+ (description "Thin Rust wrapper around some Windows native apis")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-winapi-0.3
(package
(name "rust-winapi")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 84/91] gnu: Add rust-gsk4-sys-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213257F96E881035B785D74FF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gsk4-sys-0.7): New variable.

Change-Id: I8d920484555f0c184c77757611857cf8bbdbc849
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 2be6c9e60d..a89606de89 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2381,6 +2381,34 @@ (define-public rust-gtk3-macros-0.14
library.")
(license license:expat)))
+(define-public rust-gsk4-sys-0.7
+ (package
+ (name "rust-gsk4-sys")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gsk4-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0mbdlm9qi1hql48rr29vsj9vlqwc7gxg67wg1q19z67azwz9xg8j"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `GskFillRule` constant mismatch with gcc
+ #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
+ ("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-graphene-sys" ,rust-graphene-sys-0.18)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.18)
+ ("rust-system-deps" ,rust-system-deps-6))))
+ (native-inputs (list pkg-config gdk-pixbuf cairo pango graphene gtk))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings of GSK 4")
+ (description "FFI bindings of GSK 4")
+ (license license:expat)))
+
(define-public rust-pango-0.17
(package
(name "rust-pango")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 85/91] gnu: Add rust-gsk4-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21324678CDD2B9A8D38C3E08F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gsk4-0.7): New variable.

Change-Id: I0cf6fc19cc49ae1cff03a6e18c24eeccacd58431
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index a89606de89..53100e3e0d 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2381,6 +2381,33 @@ (define-public rust-gtk3-macros-0.14
library.")
(license license:expat)))
+(define-public rust-gsk4-0.7
+ (package
+ (name "rust-gsk4")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gsk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0zhzs2dkgiinhgc11akpn2harq3x5n1iq21dnc4h689g3lsqx58d"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18)
+ ("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-graphene-rs" ,rust-graphene-rs-0.18)
+ ("rust-gsk4-sys" ,rust-gsk4-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.18))))
+ (native-inputs (list pkg-config gdk-pixbuf graphene gtk))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings of the GSK 4 library")
+ (description "Rust bindings of the GSK 4 library")
+ (license license:expat)))
+
(define-public rust-gsk4-sys-0.7
(package
(name "rust-gsk4-sys")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 80/91] gnu: Add rust-gbm-sys-0.2.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21326169C46BCD735D14A646F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-graphics.scm (rust-gbm-sys-0.2): New variable.

Change-Id: I367c24b9b69bac0aeb0f173c6603582d8b8d6ee7
---
gnu/packages/crates-graphics.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)

Toggle diff (34 lines)
diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm
index 503716ceb6..bf483b4963 100644
--- a/gnu/packages/crates-graphics.scm
+++ b/gnu/packages/crates-graphics.scm
@@ -870,6 +870,27 @@ (define-public rust-exr-1
(description "Read and write OpenEXR files without any unsafe code")
(license license:bsd-3)))
+(define-public rust-gbm-sys-0.2
+ (package
+ (name "rust-gbm-sys")
+ (version "0.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gbm-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0rxgzvmk861q7x06js5c97qgkj81jdshisrd90a1a8vskfdvlgmn"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.58)
+ ("rust-libc" ,rust-libc-0.2))))
+ (inputs (list mesa))
+ (home-page "https://github.com/Drakulix/gbm.rs/tree/master/gbm-sys")
+ (synopsis "Bindgen generated unsafe libgbm wrapper")
+ (description "Bindgen generated unsafe libgbm wrapper")
+ (license license:expat)))
+
(define-public rust-gfx-0.18
(package
(name "rust-gfx")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 86/91] gnu: Add rust-gtk4-sys-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132A9B775A86D44D484F529F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gtk4-sys-0.7): New variable.

Change-Id: I762f413ea0942a4ec2d0d06d0d49395101c09b3a
---
gnu/packages/crates-gtk.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)

Toggle diff (44 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 53100e3e0d..4a1862ea95 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2436,6 +2436,37 @@ (define-public rust-gsk4-sys-0.7
(description "FFI bindings of GSK 4")
(license license:expat)))
+(define-public rust-gtk4-sys-0.7
+ (package
+ (name "rust-gtk4-sys")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk4-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1f2ylskyqkjdik9fij2m46pra4jagnif5xyalbxfk3334fmc9n2l"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; expects gtk <= 3.98.4
+ #:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.18)
+ ("rust-gdk-pixbuf-sys" ,rust-gdk-pixbuf-sys-0.18)
+ ("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-gio-sys" ,rust-gio-sys-0.18)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-graphene-sys" ,rust-graphene-sys-0.18)
+ ("rust-gsk4-sys" ,rust-gsk4-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.18)
+ ("rust-system-deps" ,rust-system-deps-6))))
+ (native-inputs (list pkg-config pango graphene gdk-pixbuf gtk))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "FFI bindings of GTK 4")
+ (description "FFI bindings of GTK 4")
+ (license license:expat)))
+
(define-public rust-pango-0.17
(package
(name "rust-pango")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 87/91] gnu: Add rust-gtk4-macros-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21324604431216F89F603C90F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gtk4-macros-0.7): New variable.

Change-Id: I57e2afbca5ba60e9690a2aabdcbd4e9320df02e8
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 4a1862ea95..1b8ddc7f6a 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2436,6 +2436,34 @@ (define-public rust-gsk4-sys-0.7
(description "FFI bindings of GSK 4")
(license license:expat)))
+(define-public rust-gtk4-macros-0.7
+ (package
+ (name "rust-gtk4-macros")
+ (version "0.7.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk4-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0bw3cchiycf7dw1bw4p8946gv38azxy05a5w0ndgcmxnz6fc8znm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; GDK backend not initialized
+ #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+ ("rust-proc-macro-crate" ,rust-proc-macro-crate-1)
+ ("rust-proc-macro-error" ,rust-proc-macro-error-1)
+ ("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quick-xml" ,rust-quick-xml-0.30)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-gtk4" ,rust-gtk4-0.7)
+ ("rust-syn" ,rust-syn-1))))
+ (native-inputs (list pkg-config glib cairo pango gdk-pixbuf gtk))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Macros helpers for GTK 4 bindings")
+ (description "Macros helpers for GTK 4 bindings")
+ (license license:expat)))
+
(define-public rust-gtk4-sys-0.7
(package
(name "rust-gtk4-sys")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 89/91] gnu: Add rust-libadwaita-sys-0.5.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213272959AAA968469EE5AECF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-libadwaita-sys-0.5): New variable.

Change-Id: I375605dd05d38b15f2a6a00ed782b9eafc856694
---
gnu/packages/crates-gtk.scm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index dbb118dca1..1bd8ea4f11 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2352,6 +2352,34 @@ (define-public rust-gtk-sys-0.9
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-libadwaita-sys-0.5
+ (package
+ (name "rust-libadwaita-sys")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libadwaita-sys" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16n6xsy6jhbj0jbpz8yvql6c9b89a99v9vhdz5s37mg1inisl42y"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `AdwBreakpointBin` not defined in gcc
+ #:cargo-inputs (("rust-gdk4-sys" ,rust-gdk4-sys-0.7)
+ ("rust-gio-sys" ,rust-gio-sys-0.18)
+ ("rust-glib-sys" ,rust-glib-sys-0.18)
+ ("rust-gobject-sys" ,rust-gobject-sys-0.18)
+ ("rust-gtk4-sys" ,rust-gtk4-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango-sys" ,rust-pango-sys-0.18)
+ ("rust-system-deps" ,rust-system-deps-6))))
+ (native-inputs (list pkg-config gdk-pixbuf gtk libadwaita))
+ (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/")
+ (synopsis "FFI bindings for libadwaita")
+ (description "FFI bindings for libadwaita")
+ (license license:expat)))
+
(define-public rust-gtk3-macros-0.14
(package
(name "rust-gtk3-macros")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 91/91] gnu: Add mission-center.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132AF6AC65D68ED3B3B51F7F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/patches/mission-center-gatherer.patch (mission-center): New variable.

Change-Id: Iebd1423d98da2d6d7951e2e87f435f5049566e39
---
.../patches/mission-center-gatherer.patch | 21 +++
gnu/packages/rust-apps.scm | 173 ++++++++++++++++++
2 files changed, 194 insertions(+)
create mode 100644 gnu/packages/patches/mission-center-gatherer.patch

Toggle diff (251 lines)
diff --git a/gnu/packages/patches/mission-center-gatherer.patch b/gnu/packages/patches/mission-center-gatherer.patch
new file mode 100644
index 0000000000..1d37ad2863
--- /dev/null
+++ b/gnu/packages/patches/mission-center-gatherer.patch
@@ -0,0 +1,21 @@
+This patch makes the `gatherer` component of `mission-center' use the nvtop
+sources provided as a `gexp` artifact instead of fetching the sources at
+build-time.
+
+diff --git a/src/sys_info_v2/gatherer/build/build.rs b/src/sys_info_v2/gatherer/build/build.rs
+index 3c287ee..f0af0ff 100644
+--- a/src/sys_info_v2/gatherer/build/build.rs
++++ b/src/sys_info_v2/gatherer/build/build.rs
+@@ -60,11 +60,7 @@ fn prepare_third_party_sources() -> Result<Vec<std::path::PathBuf>, Box<dyn std:
+ break;
+ }
+
+- let output_path = util::download_file(
+- &package.source_url,
+- &format!("{}", out_dir.display()),
+- Some(&package.source_hash),
+- )?;
++ let output_path = std::env::var("CARGO_MANIFEST_DIR")? + "/../../../../nvtop.tar.gz";
+
+ let mut archive = std::fs::File::open(&output_path)?;
+ let tar = flate2::read::GzDecoder::new(&mut archive);
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index eb5214f534..29dd369ec6 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -43,6 +43,7 @@
(define-module (gnu packages rust-apps)
#:use-module (guix build-system cargo)
+ #:use-module (guix build-system meson)
#:use-module (guix build-system pyproject)
#:use-module (guix deprecation)
#:use-module (guix download)
@@ -55,15 +56,21 @@ (define-module (gnu packages rust-apps)
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module (gnu packages bash)
+ #:use-module (gnu packages build-tools)
+ #:use-module (gnu packages cmake)
#:use-module (gnu packages compression)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-graphics)
+ #:use-module (gnu packages crates-gtk)
#:use-module (gnu packages curl)
#:use-module (gnu packages documentation)
#:use-module (gnu packages fontutils)
#:use-module (gnu packages freedesktop)
#:use-module (gnu packages haskell-xyz)
+ #:use-module (gnu packages gettext)
+ #:use-module (gnu packages gl)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnome)
#:use-module (gnu packages gtk)
#:use-module (gnu packages ibus)
#:use-module (gnu packages icu4c)
@@ -72,6 +79,7 @@ (define-module (gnu packages rust-apps)
#:use-module (gnu packages kde)
#:use-module (gnu packages linux)
#:use-module (gnu packages networking)
+ #:use-module (gnu packages ninja)
#:use-module (gnu packages ssh)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
@@ -83,7 +91,9 @@ (define-module (gnu packages rust-apps)
#:use-module (gnu packages rust)
#:use-module (gnu packages tls)
#:use-module (gnu packages version-control)
+ #:use-module (gnu packages vulkan)
#:use-module (gnu packages webkit)
+ #:use-module (gnu packages xml)
#:use-module (gnu packages xorg))
(define-public agate
@@ -997,6 +1007,169 @@ (define-public maturin
@code{cffi} bindings as well as rust binaries as python packages.")
(license (list license:expat license:asl2.0))))
+(define-public mission-center
+ (define nvtop-src
+ (let ((url-hash "be47f8c560487efc6e6a419d59c69bfbdb819324"))
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/Syllo/nvtop/archive/" url-hash
+ ".tar.gz"))
+ (file-name (string-append "nvtop-" url-hash))
+ (sha256
+ (base32 "0pq3959a83d8wqdxbsbhvakcylhm3v6pzk525klpab6jn7g67ja7")))))
+
+ (define pathfinder-src
+ (let ((commit "21ec6fa933547636bc6c5ee8f0dd4a0ea3fcd062"))
+ (origin
+ (method git-fetch)
+ (uri (git-reference (url "https://github.com/servo/pathfinder")
+ (commit commit)))
+ (file-name (git-file-name "pathfinder" commit))
+ (sha256
+ (base32 "1ky5f7k6w0wpi8k7hpwfidaa032cnnhxbzgv8lrla0snv3ms6r4k")))))
+
+ (package
+ (name "mission-center")
+ (version "0.3.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.com/mission-center-devs/mission-center.git")
+ (commit "4fc7268f5dd314580e721825a63d3e34421e8317")))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1nql8mij04kb862j6s7ls5qxl6bsa088zrmynlq52ppk577idb7q"))
+ (patches (list (search-patch "mission-center-gatherer.patch")))))
+ (build-system cargo-build-system)
+ (arguments
+ (list
+ #:cargo-inputs
+ `(("rust-anyhow" ,rust-anyhow-1)
+ ("rust-drm" ,rust-drm-0.9)
+ ("rust-egl" ,rust-egl-0.2)
+ ("rust-gbm" ,rust-gbm-0.12)
+ ("rust-interprocess" ,rust-interprocess-1)
+ ("rust-minidl" ,rust-minidl-0.1)
+ ("rust-raw-cpuid" ,rust-raw-cpuid-11)
+ ("rust-rust-ini" ,rust-rust-ini-0.19)
+ ("rust-rustbus" ,rust-rustbus-0.19)
+ ("rust-shared-memory-extended" ,rust-shared-memory-extended-0.13)
+ ("rust-cargo-util" ,rust-cargo-util-0.2)
+ ("rust-sha2" ,rust-sha2-0.10)
+ ("rust-tar" ,rust-tar-0.4)
+ ("rust-ureq" ,rust-ureq-2)
+ ("rust-libadwaita" ,rust-libadwaita-0.5)
+ ("rust-errno-sys" ,rust-errno-sys-0.1)
+ ("rust-gettext-rs" ,rust-gettext-rs-0.7)
+ ("rust-gl-loader" ,rust-gl-loader-0.1)
+ ("rust-libudev-sys" ,rust-libudev-sys-0.1)
+ ("rust-rusqlite" ,rust-rusqlite-0.29)
+ ("rust-sysinfo" ,rust-sysinfo-0.29)
+ ("rust-textdistance" ,rust-textdistance-1)
+
+ ;; Required for pathfinder
+ ("rust-byte-slice-cast" ,rust-byte-slice-cast-0.3)
+ ("rust-crossbeam-channel" ,rust-crossbeam-channel-0.4)
+ ("rust-hashbrown" ,rust-hashbrown-0.7))
+ #:imported-modules
+ `(,@%meson-build-system-modules
+ (guix build cargo-build-system)
+ (guix build json)
+ (guix build cargo-utils)
+ (guix build utils))
+ #:modules
+ `((guix build cargo-build-system)
+ ((guix build meson-build-system)
+ #:prefix meson:)
+ (guix build utils))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'remove-cargo-locks
+ (lambda _
+ (with-directory-excursion "src/sys_info_v2/gatherer"
+ (delete-file "Cargo.lock")
+ (substitute* "meson.build"
+ (("cargo_env.*")
+ "")))
+ (substitute* "src/meson.build"
+ (("cargo_env \\+= \\[ 'CARGO_HOME='.*")
+ ""))))
+ (add-after 'unpack 'fix-dlopen-calls
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute*
+ "src/sys_info_v2/gatherer/src/platform/linux/gpu_info/vulkan_info.rs"
+ (("libvulkan.so.1")
+ (search-input-file inputs "/lib/libvulkan.so.1")))))
+ (add-after 'unpack 'setup-nvtop
+ (lambda _
+ (begin
+ (use-modules (guix build utils))
+ (copy-file #$nvtop-src "../nvtop.tar.gz"))))
+ (add-after 'unpack 'setup-pathfinder
+ (lambda _
+ (begin
+ (use-modules (guix build utils))
+ (copy-recursively #$pathfinder-src "../pathfinder")
+ (substitute* "Cargo.toml"
+ (("^pathfinder_([a-z]+).*$" _ module)
+ (string-append "pathfinder_"
+ module
+ " = { path = \"../pathfinder/"
+ module
+ "\" }"
+ "\n"))))))
+ (add-before 'build 'meson-configure
+ (lambda args
+ (apply (assoc-ref meson:%standard-phases
+ 'configure)
+ ;; NOTE: flags for the configure phase. This
+ ;; keyword argument does not exist on the
+ ;; `cargo-build-system'. This is why we need to
+ ;; pass it manually.
+ #:configure-flags '()
+ #:build-type "debugoptimized"
+ args)))
+ (replace 'build
+ (assoc-ref meson:%standard-phases
+ 'build))
+ (delete 'package)
+ (delete 'check)
+ (replace 'install
+ (assoc-ref meson:%standard-phases 'install)))))
+ ;; NOTE: since `gtk' and `libadwaita' are core packages, many have them as
+ ;; propagated inputs. Therefore its not enough with just bumping their
+ ;; version here. Input rewritting is required, eg:
+ ;; guix build mission-center --with-input=gtk=gtk@4.10.3
+ ;; --with-input=libadwaita=libadwaita@1.3.0
+ (native-inputs
+ (list blueprint-compiler-next
+ cmake
+ gettext-minimal
+ meson
+ ninja
+ perl
+ pkg-config))
+ (inputs
+ (list (list glib "bin")
+ (list gtk "bin") ; must be gtk >= 4.10.0
+ appstream-glib
+ desktop-file-utils
+ libadwaita ; must be libadwaita >= 1.3.0
+ libglvnd
+ libgudev
+ libxml2
+ openssl
+ python
+ python-pygobject
+ python-wrapper
+ vulkan-loader))
+ (synopsis "System resource usage monitor")
+ (description "System monitor that displays your CPU, Memory, Disk, Network
+and GPU usage.")
+ (home-page "https://missioncenter.io/")
+ (license license:gpl3)))
+
(define-public ripgrep
(package
(name "ripgrep")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 45/91] gnu: Add rust-rust-ini-0.19.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132F8A59E60F18E61D1C25AF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-rust-ini-0.19): New variable.

Change-Id: Ic0fc1a5564137496b231ec859c0f3da2b6e4c9d9
---
gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++-------
1 file changed, 24 insertions(+), 7 deletions(-)

Toggle diff (58 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8259515692..4c246ebedd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -60487,8 +60487,31 @@ (define-public rust-rust-hawktracer-sys-0.4
"This package provides a sys crate for the rust_hawktracer library.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rust-ini-0.19
+ (package
+ (name "rust-rust-ini")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rust_ini" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "14ah70q8k450d6cdwn2vsl1rsdha09nax2n8y4z5a4ziq773naky"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-ordered-multimap" ,rust-ordered-multimap-0.6)
+ ("rust-unicase" ,rust-unicase-2))))
+ (home-page "https://github.com/zonyitoo/rust-ini")
+ (synopsis "INI configuration file parsing library in Rust")
+ (description
+ "This package is an INI configuration file parsing library in Rust.")
+ (license license:expat)))
+
(define-public rust-rust-ini-0.17
(package
+ (inherit rust-rust-ini-0.19)
(name "rust-rust-ini")
(version "0.17.0")
(source
@@ -60498,18 +60521,12 @@ (define-public rust-rust-ini-0.17
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "08hfh6p2svznza3m07vavsc4c8x4g6d715sz58rzh73sm551qiv3"))))
- (build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-cfg-if" ,rust-cfg-if-1)
("rust-ordered-multimap" ,rust-ordered-multimap-0.3)
- ("rust-unicase" ,rust-unicase-2))))
- (home-page "https://github.com/zonyitoo/rust-ini")
- (synopsis "INI configuration file parsing library in Rust")
- (description
- "This package is an INI configuration file parsing library in Rust.")
- (license license:expat)))
+ ("rust-unicase" ,rust-unicase-2))))))
(define-public rust-rust-ini-0.13
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 74/91] gnu: Add rust-windows-0.34.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21326A180C0B69AE0363D63CF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-windows-0.34): New variable.

Change-Id: Ib625b56d942ae619fb6258f0d2a0c30e893c7bff
---
gnu/packages/crates-io.scm | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)

Toggle diff (41 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7bcbe69be0..620c2a9d0a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -83941,10 +83941,33 @@ (define-public rust-windows-0.46
if they were just another Rust module.")
(license (list license:expat license:asl2.0))))
-(define-public rust-windows-0.32
+(define-public rust-windows-0.34
(package
(inherit rust-windows-0.46)
(name "rust-windows")
+ (version "0.34.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "windows" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "17w2wygxjzi06njamyjdws7bjdn2lkplqqgjvdpn29s241j6naa5"))))
+ (arguments
+ `(#:skip-build? #t ; windows namespace is not availeable
+ #:cargo-inputs
+ (("rust-windows-implement" ,rust-windows-implement-0.34)
+ ("rust-windows-interface" ,rust-windows-interface-0.34)
+ ("rust-windows-aarch64-msvc" ,rust-windows-aarch64-msvc-0.34)
+ ("rust-windows-i686-gnu" ,rust-windows-i686-gnu-0.34)
+ ("rust-windows-i686-msvc" ,rust-windows-i686-msvc-0.34)
+ ("rust-windows-x86-64-gnu" ,rust-windows-x86-64-gnu-0.34)
+ ("rust-windows-x86-64-msvc" ,rust-windows-x86-64-msvc-0.34))))))
+
+(define-public rust-windows-0.32
+ (package
+ (inherit rust-windows-0.34)
+ (name "rust-windows")
(version "0.32.0")
(source (origin
(method url-fetch)
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 30/91] gnu: Add rust-assert2-macros-0.3.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21320418E56163B09BF6761BF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-assert2-macros-0.3): New variable.

Change-Id: I270c282016581010508fbe7ba9542720e6cc324b
---
gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)

Toggle diff (35 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9d47e9c03c..b9a2f17a23 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -4922,6 +4922,28 @@ (define-public rust-ascii-utils-0.9
"This library provides utilities to handle ASCII characters.")
(license license:mpl2.0)))
+(define-public rust-assert2-macros-0.3
+ (package
+ (name "rust-assert2-macros")
+ (version "0.3.11")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "assert2-macros" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dcjbac962smxr6pmnsd6mdglh6any36ifshqzqzi4ppwvrvsmbc"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1)
+ ("rust-quote" ,rust-quote-1)
+ ("rust-rustc-version" ,rust-rustc-version-0.4)
+ ("rust-syn" ,rust-syn-1))))
+ (home-page "https://github.com/de-vri-es/assert2-rs")
+ (synopsis "procedural macros for assert2")
+ (description "procedural macros for assert2")
+ (license license:bsd-2)))
+
(define-public rust-assert-0.7
(package
(name "rust-assert")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 28/91] gnu: Add rust-byte-slice-cast-0.3.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB2132CCB6723CAC8CACD45F33F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-byte-slice-cast-0.3): New variable.

Change-Id: I4cfc358e17e52e65e4f93da86cd33faac71822f7
---
gnu/packages/crates-io.scm | 13 +++++++++++++
1 file changed, 13 insertions(+)

Toggle diff (26 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2e972cdd06..c2d899ae67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -10112,6 +10112,19 @@ (define-public rust-byte-slice-cast-1
of built-in fundamental numeric types.")
(license license:expat)))
+(define-public rust-byte-slice-cast-0.3
+ (package
+ (inherit rust-byte-slice-cast-1)
+ (name "rust-byte-slice-cast")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "byte-slice-cast" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1wgaigq4xzrpaaik1ja828zi4v2qn4md64c01yglzyz07z3fxmil"))))))
+
(define-public rust-byte-tools-0.3
(package
(name "rust-byte-tools")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 90/91] gnu: Add rust-libadwaita-0.5.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB213222FE4542A2E6643E3356F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-libadwaita-0.5): New variable.

Change-Id: I48533d87282268a46e66b9235c6a86b52b5d82ec
---
gnu/packages/crates-gtk.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)

Toggle diff (40 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 1bd8ea4f11..adc6671bd1 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2352,6 +2352,33 @@ (define-public rust-gtk-sys-0.9
(("rust-shell-words" ,rust-shell-words-0.1)
("rust-tempfile" ,rust-tempfile-3))))))
+(define-public rust-libadwaita-0.5
+ (package
+ (name "rust-libadwaita")
+ (version "0.5.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "libadwaita" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "174pzn9dwsk8ikvrhx13vkh0zrpvb3rhg9yd2q5d2zjh0q6fgrrg"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18)
+ ("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-gtk4" ,rust-gtk4-0.7)
+ ("rust-libadwaita-sys" ,rust-libadwaita-sys-0.5)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.18))))
+ (native-inputs (list pkg-config pango gdk-pixbuf gtk libadwaita))
+ (home-page "https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs")
+ (synopsis "Rust bindings for libadwaita")
+ (description "Rust bindings for libadwaita")
+ (license license:expat)))
+
(define-public rust-libadwaita-sys-0.5
(package
(name "rust-libadwaita-sys")
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:12
[PATCH 25/91] gnu: Add rust-minimad-0.12.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21328AFDA5633F0B27A26065F3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-io.scm (rust-minimad-0.12): New variable.

Change-Id: I2992976351cae043913ee03dac3f97ce031458df
---
gnu/packages/crates-io.scm | 29 +++++++++++++++++++++--------
1 file changed, 21 insertions(+), 8 deletions(-)

Toggle diff (51 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d3c3cf4f0..288c32b132 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41511,8 +41511,28 @@ (define-public rust-minijinja-0.34
(description "This package provides a template engine for Rust.")
(license license:asl2.0)))
+(define-public rust-minimad-0.12
+ (package
+ (name "rust-minimad")
+ (version "0.12.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "minimad" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1vzglb05pqghc8l6d10vqkal0nqhgkh94jawwlhd1r14952kdc9q"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
+ (home-page "https://github.com/Canop/minimad")
+ (synopsis "Light markdown parser")
+ (description "Light markdown parser.")
+ (license license:expat)))
+
(define-public rust-minimad-0.9
(package
+ (inherit rust-minimad-0.12)
(name "rust-minimad")
(version "0.9.1")
(source (origin
@@ -41521,14 +41541,7 @@ (define-public rust-minimad-0.9
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0d2qnjwdrb3ngb0sayzj2b56pjb75ajqiaz4iw7zfs4537q3jxi7"))))
- (build-system cargo-build-system)
- (arguments
- `(#:cargo-inputs (("rust-once-cell" ,rust-once-cell-1))))
- (home-page "https://github.com/Canop/minimad")
- (synopsis "Light markdown parser")
- (description "Light markdown parser.")
- (license license:expat)))
+ "0d2qnjwdrb3ngb0sayzj2b56pjb75ajqiaz4iw7zfs4537q3jxi7"))))))
(define-public rust-minimal-lexical-0.2
(package
--
2.41.0
S
S
Sergio Pastor Pérez wrote on 28 Nov 2023 22:13
[PATCH 88/91] gnu: Add rust-gtk4-0.7.
(address . 67515@debbugs.gnu.org)(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
DU2P193MB21322D6F1ECB9266DD08EF4FF3BCA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
* gnu/packages/crates-gtk.scm (rust-gtk4-0.7): New variable.

Change-Id: I66d02cdc3c3ba14cca03859d39c2c09cdf071622
---
gnu/packages/crates-gtk.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)

Toggle diff (46 lines)
diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm
index 1b8ddc7f6a..dbb118dca1 100644
--- a/gnu/packages/crates-gtk.scm
+++ b/gnu/packages/crates-gtk.scm
@@ -2436,6 +2436,39 @@ (define-public rust-gsk4-sys-0.7
(description "FFI bindings of GSK 4")
(license license:expat)))
+(define-public rust-gtk4-0.7
+ (package
+ (name "rust-gtk4")
+ (version "0.7.3")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "gtk4" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0hh8nzglmz94v1m1h6vy8z12m6fr7ia467ry0md5fa4p7sm53sss"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:tests? #f ; `Errors` doesn't implement `std::fmt::Display`
+ #:cargo-inputs (("rust-cairo-rs" ,rust-cairo-rs-0.18)
+ ("rust-field-offset" ,rust-field-offset-0.3)
+ ("rust-futures-channel" ,rust-futures-channel-0.3)
+ ("rust-gdk-pixbuf" ,rust-gdk-pixbuf-0.18)
+ ("rust-gdk4" ,rust-gdk4-0.7)
+ ("rust-gio" ,rust-gio-0.18)
+ ("rust-glib" ,rust-glib-0.18)
+ ("rust-graphene-rs" ,rust-graphene-rs-0.18)
+ ("rust-gsk4" ,rust-gsk4-0.7)
+ ("rust-gtk4-macros" ,rust-gtk4-macros-0.7)
+ ("rust-gtk4-sys" ,rust-gtk4-sys-0.7)
+ ("rust-libc" ,rust-libc-0.2)
+ ("rust-pango" ,rust-pango-0.18))))
+ (native-inputs (list pkg-config glib gtk))
+ (home-page "https://gtk-rs.org/")
+ (synopsis "Rust bindings of the GTK 4 library")
+ (description "Rust bindings of the GTK 4 library")
+ (license license:expat)))
+
(define-public rust-gtk4-macros-0.7
(package
(name "rust-gtk4-macros")
--
2.41.0
E
E
Efraim Flashner wrote on 26 Dec 2023 12:43
Re: [bug#67515] [PATCH 91/91] gnu: Add mission-center.
(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)(address . 67515@debbugs.gnu.org)
ZYq8XdAHqXOPQzfw@3900XT
I've applied a bunch of the patches to the rust-team branch, but I think
we're going to need to wait for the gnome branch to be merged first.
Plus since I'd really rather not merge really old packages like libc-0.1
I think we should actually package a newer version, once the gnome
branch gets merged.

--
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
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmWKvFkACgkQQarn3Mo9
g1EG5A//Ra+HP9tNFssCRncU7ytbBaOvQ3FZASseEKLPgOCO+lBn79zDjIpp4Q08
AUeTJrGMenwCe5lpkIFFVvWUoWYXa4u1lNoq7mQh0TtsFRl//EJ09iYbfMevevVW
dUKHK1YtGwCoGFDKIOpbCBF5g1/NkeFs7Ni4V1Ir+ge1xd+1oZl/Iw9Wz2BthVHv
pmLropum4mnqDm88PjBnht4rk+0sDSo1vVl5bYaEsIihshD5GWzoOhXSsZV0Qmp+
dvTKXDgDzv8EDj6wu2OZf45sRfV1T3WBvLDJZsxMubpSoa+AXH+8zmcPBksQ2k0e
7Ubzb16CTRYUVAg8gFOHGrp4FVSLppkoATgcalBroNBEDMPapQuBo0b1FaPLKMfF
K6QcEQLDJhX4btf3fT+jedU9pQJJy+E9ayIOAtDmaH6aw2zzN89IL4v7OgdOgKJ2
kjIUQ7v9MVjHaZEGkGiPS5BRnVcbTg4Mb+iTJPelNsGqHY1bwud3M0dGDgl55nig
bA6+AjcXi1GhnEX4/82hXOcVYLfD8ac120sTsyU4hAeAO6j05835Y6+Ok1uK6sHO
yTc3gkM51uN8iHpvKEndBG17HQf/MGhnI/4ToEZdG09bLZNIdw8EkRmR3c+ksusJ
nYFLIuuhGM0ffIeOzoCOSGPXLz1INI7zMR+/ZmLTTBPnQiEkdvc=
=vIca
-----END PGP SIGNATURE-----


S
S
Sergio Pastor Pérez wrote on 28 Dec 2023 13:32
(name . Efraim Flashner)(address . efraim@flashner.co.il)(address . 67515@debbugs.gnu.org)
DU2P193MB21322D00F1695E9C70729A68F39EA@DU2P193MB2132.EURP193.PROD.OUTLOOK.COM
Hi.

Toggle quote (2 lines)
> I've applied a bunch of the patches to the rust-team branch, but I think
> we're going to need to wait for the gnome branch to be merged first.
Thanks for taking your time to look at the patch serie.

Toggle quote (3 lines)
> Plus since I'd really rather not merge really old packages like libc-0.1
> I think we should actually package a newer version, once the gnome
> branch gets merged.
That makes sense. Maybe we could consider cutting of the dependency
graph using `#:skip-build? #t` so we avoid packaging this old
dependencies? I think it would be nice to at least have `mission-center`
packaged.

Greetings,
Sergio.
G
G
Greg Hogan wrote on 2 Apr 17:24 +0200
(name . Sergio Pastor Pérez)(address . sergio.pastorperez@outlook.es)
CA+3U0Zksm3g3iRuAjGwaVApepYHK7mHmvbkPxBb2p2qv-mH9Pw@mail.gmail.com
On Thu, Dec 28, 2023 at 7:33?AM Sergio Pastor Pérez
<sergio.pastorperez@outlook.es> wrote:
Toggle quote (7 lines)
>
> Hi.
>
> > I've applied a bunch of the patches to the rust-team branch, but I think
> > we're going to need to wait for the gnome branch to be merged first.
> Thanks for taking your time to look at the patch serie.

The gnome branch has been merged!

Toggle quote (10 lines)
> > Plus since I'd really rather not merge really old packages like libc-0.1
> > I think we should actually package a newer version, once the gnome
> > branch gets merged.
> That makes sense. Maybe we could consider cutting of the dependency
> graph using `#:skip-build? #t` so we avoid packaging this old
> dependencies? I think it would be nice to at least have `mission-center`
> packaged.
>
> Greetings,
> Sergio.
S
S
Steve George wrote on 3 Nov 14:58 +0100
RE: Add Mission Center and its dependencies
(address . 67515@debbugs.gnu.org)
ZyeBn58c3CfzogN9@dragon2
Hi Sergio,

Bumping this, are we still interested in packaging this?

I guess the GNOME team merged a while ago, so it would need a new series with updates. And since it's Rust everything with have new versions =-)

Futurile / Steve
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 67515@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 67515
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch