GNU bug report logs - #67515
[PATCH 00/91] Add Mission Center and its dependencies

Previous Next

Package: guix-patches;

Reported by: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>

Date: Tue, 28 Nov 2023 21:00:02 UTC

Severity: normal

Tags: patch

Full log


Message #209 received at 67515 <at> debbugs.gnu.org (full text, mbox):

From: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
To: 67515 <at> debbugs.gnu.org
Cc: Sergio Pastor Pérez <sergio.pastorperez <at> outlook.es>
Subject: [PATCH 65/91] gnu: Add rust-rustbus-0.19.
Date: Tue, 28 Nov 2023 22:12:43 +0100
* 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(+)

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





This bug report was last modified 228 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.