[PATCH] gnu: rust-libudev-sys-0.1: add missing native dependencies

  • Open
  • quality assurance status badge
Details
One participant
  • bigbookofbug
Owner
unassigned
Submitted by
bigbookofbug
Severity
normal
B
B
bigbookofbug wrote on 7 Oct 06:37 +0200
(address . guix-patches@gnu.org)(name . emma thompson)(address . bigbookofbug@proton.me)
20241007043701.27699-1-bigbookofbug@proton.me
From: emma thompson <bigbookofbug@proton.me>

i noticed while trying to use libudev-sys that the build was failing. the backtrace noted that both pkg-config and libudev were missing. as noted upstream as well (https://github.com/dcuddeback/libudev-sys),udev is required in the build environment.
---
gnu/packages/crates-io.scm | 2 ++
1 file changed, 2 insertions(+)

Toggle diff (24 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c08ccd29fd..e5a92a6d57 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -44,6 +44,7 @@
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
;;; Copyright © 2024 Aaron Covrig <aaron.covrig.us@ieee.org>
;;; Copyright © 2024 Nguy?n Gia Phong <mcsinyx@disroot.org>
+;;; Copyright © 2024 emma thompson <bigbookofbug@proton.me>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -39773,6 +39774,7 @@ (define-public rust-libudev-sys-0.1
(arguments
`(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
("rust-pkg-config" ,rust-pkg-config-0.3))))
+ (native-inputs (list pkg-config eudev))
(home-page "https://github.com/dcuddeback/libudev-sys")
(synopsis "FFI bindings to libudev")
(description "This package provides FFI bindings to libudev.")

base-commit: b007cbbfb76aa6e072f1223699e910c45da7e732
--
2.46.0
?
Your comment

Commenting via the web interface is currently disabled.

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

To respond to this issue using the mumi CLI, first switch to it
mumi current 73673
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