* [bug#49455] [PATCH] gnu: add libgpiod
@ 2021-07-07 7:56 Ivan Gankevich
2021-07-20 20:25 ` bug#49455: " Ludovic Courtès
0 siblings, 1 reply; 3+ messages in thread
From: Ivan Gankevich @ 2021-07-07 7:56 UTC (permalink / raw)
To: 49455; +Cc: Ivan Gankevich
---
gnu/packages/linux.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index da3c8755f6..9c83f1969d 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -8248,3 +8248,39 @@ Availability and Serviceability} reports from Linux kernel trace events.
These trace events are logged in @file{/sys/kernel/debug/tracing} and reported
through standard log mechanisms like syslog.")
(license license:gpl2)))
+
+(define-public libgpiod
+ (package
+ (name "libgpiod")
+ (version "1.6.3")
+ (source
+ (origin
+ (method git-fetch)
+ (uri
+ (git-reference
+ (url "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256 (base32 "0rv8a11hx3pc6sdw6nfc6k35hkp2clb3v53n1381cvip8fzhbsad"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:configure-flags
+ '("--enable-tools=yes"
+ "--enable-bindings-cxx"
+ "--enable-bindings-python")))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("libtool" ,libtool)
+ ("autoconf-archive" ,autoconf-archive)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-3)))
+ (synopsis "C library and tools for interacting with the linux GPIO character device")
+ (description "C library with C++/Python bindings and command line tools
+for interacting with GPIO devices that avoids the usage of older system-wide
+/sys interface.")
+ (home-page "https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/")
+ (license (list license:lgpl2.1+ ;; libgpiod
+ license:gpl2+ ;; gpio-tools
+ license:lgpl3+ ;; C++ bindings
+ ))))
--
2.32.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#49455: [PATCH] gnu: add libgpiod
2021-07-07 7:56 [bug#49455] [PATCH] gnu: add libgpiod Ivan Gankevich
@ 2021-07-20 20:25 ` Ludovic Courtès
2021-07-21 9:59 ` [bug#49455] " Ivan Gankevich
0 siblings, 1 reply; 3+ messages in thread
From: Ludovic Courtès @ 2021-07-20 20:25 UTC (permalink / raw)
To: Ivan Gankevich; +Cc: 49455-done
Hi,
Ivan Gankevich <i.gankevich@spbu.ru> skribis:
> +(define-public libgpiod
> + (package
> + (name "libgpiod")
> + (version "1.6.3")
I tweaked the synopsis and description, added a copyright line for you,
adjusted the commit log as per our conventions, and committed.
Thanks!
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#49455] [PATCH] gnu: add libgpiod
2021-07-20 20:25 ` bug#49455: " Ludovic Courtès
@ 2021-07-21 9:59 ` Ivan Gankevich
0 siblings, 0 replies; 3+ messages in thread
From: Ivan Gankevich @ 2021-07-21 9:59 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: 49455-done
>I tweaked the synopsis and description, added a copyright line for you,
>adjusted the commit log as per our conventions, and committed.
Thank you, Ludo.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-07-21 10:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-07 7:56 [bug#49455] [PATCH] gnu: add libgpiod Ivan Gankevich
2021-07-20 20:25 ` bug#49455: " Ludovic Courtès
2021-07-21 9:59 ` [bug#49455] " Ivan Gankevich
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.