[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51193] [PATCH] gnu: Update i3status-rust.

From: phodina
Subject: [bug#51193] [PATCH] gnu: Update i3status-rust.
Date: Mon, 08 Nov 2021 17:34:14 +0000

Hi Efraim,

Thanks for upstreaming.

Unfortunately I discovered some missing inputs when using full config file, not 
just dummy (only time and disks).

Also checked the source code and the Rust code invokes commands. This looks 
like it would need also wrap-program, right?

Here's a list:

* gnu/packages/rust-apps (i3status-rust)[inputs]: Add alsa-utils and setxkbmap.

----8<----------cut here--------->8---
diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index be60f3f376..2f05b313d6 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -55,7 +55,8 @@ (define-module (gnu packages rust-apps)
   #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages rust)
   #:use-module (gnu packages tls)
-  #:use-module (gnu packages version-control))
+  #:use-module (gnu packages version-control)
+  #:use-module (gnu packages xorg))

 (define-public agate
@@ -450,23 +451,25 @@ (define-public i3status-rust
     (name "i3status-rust")
     (version "0.20.1")
-      (origin
-        (method git-fetch)
-        (uri (git-reference
-              (url "";)
-              (commit (string-append "v" version))))
-        (file-name (git-file-name name version))
-        (patches (search-patches 
-        (sha256
-         (base32 "00gzm3g297s9bfp13vnb623p7dfac3g6cdhz2b3lc6l0kmnnqs1s"))))
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "";)
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (patches (search-patches 
+       (sha256
+        (base32 "00gzm3g297s9bfp13vnb623p7dfac3g6cdhz2b3lc6l0kmnnqs1s"))))
     (build-system cargo-build-system)
      `(("pkg-config" ,pkg-config)))
      `(("curl" ,curl)
+       ("alsa-utils" ,alsa-utils)
        ("dbus" ,dbus)
        ("pulseaudio" ,pulseaudio)
        ("openssl" ,openssl)
+       ("setxkbmap" ,setxkbmap)
        ("zlib" ,zlib)))
      `(#:features '("pulseaudio" "libpulse-binding")

reply via email to

[Prev in Thread] Current Thread [Next in Thread]