Subject: Re: [bug#72699] [PATCH 5/5] gnu: Add helvum.

From: Zheng Junjie <[email-masked]>
Date: Tue, 20 Aug 2024 13:25:18 +0800

Sergio Pastor Pérez <[email-masked]> writes:

> * gnu/packages/rust-apps.scm (helvum): New variable.
>
> Change-Id: Ib2bd52530b3a42e776357f8af9ae5321ade5e0d5
> ---
>  gnu/packages/rust-apps.scm | 30 ++++++++++++++++++++++++++++++
>  1 file changed, 30 insertions(+)
>
> diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
> index 7de25356c7..3fc8d9834e 100644
> --- a/gnu/packages/rust-apps.scm
> +++ b/gnu/packages/rust-apps.scm
> @@ -66,6 +66,7 @@ (define-module (gnu packages rust-apps)
>    #:use-module (gnu packages crates-crypto)
>    #:use-module (gnu packages crates-io)
>    #:use-module (gnu packages crates-graphics)
> +  #:use-module (gnu packages crates-gtk)
>    #:use-module (gnu packages crates-tls)
>    #:use-module (gnu packages crates-vcs)
>    #:use-module (gnu packages crates-web)
> @@ -77,6 +78,7 @@ (define-module (gnu packages rust-apps)
>    #:use-module (gnu packages freedesktop)
>    #:use-module (gnu packages haskell-xyz)
>    #:use-module (gnu packages glib)
> +  #:use-module (gnu packages gnome)
>    #:use-module (gnu packages gtk)
>    #:use-module (gnu packages ibus)
>    #:use-module (gnu packages icu4c)
> @@ -855,6 +857,34 @@ (define-public gitui
>      (description "This package provides a fast Terminal UI for git.")
>      (license license:expat)))
>  
> +(define-public helvum
> +  (package
> +    (name "helvum")
> +    (version "0.5.1")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://gitlab.freedesktop.org/pipewire/helvum")
> +             (commit version)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32 "1q8gkx7djrfdl8fykppsqkxiadsq47v0xhj612nxlrvjz8n77ygn"))))
> +    (build-system cargo-build-system)
> +    (arguments
> +     `(#:cargo-inputs (("rust-glib" ,rust-glib-0.18)
> +                       ("rust-libadwaita" ,rust-libadwaita-0.5)
> +                       ("rust-libc" ,rust-libc-0.2)
> +                       ("rust-log" ,rust-log-0.4)
> +                       ("rust-once-cell" ,rust-once-cell-1)
> +                       ("rust-pipewire" ,rust-pipewire-0.7))))
> +    (native-inputs (list pkg-config clang))
> +    (inputs (list glib gtk libadwaita pipewire))
> +    (home-page "https://gitlab.freedesktop.org/pipewire/helvum")
> +    (synopsis "GTK patchbay for pipewire")
> +    (description "This package provides a GTK patchbay for pipewire.")
> +    (license license:gpl3)))
> +
>  (define-public hexyl
>    (package
>      (name "hexyl")

push, add some phase to install icons and desktop file, and glib-or-gtk wrap.