Add guile-gpio

Evgeny PisemskySun Jan 05 12:45:01+0300 2025

ad4b465

Add guile-gpio

modules/cogd/packages/figlet.scm

3030
    (synopsis "Display large colourful characters")
3131
    (description
3232
     "The TOIlet project attempts to create a free replacement for the
33-
???FIGlet utility.  It uses the powerful libcaca library to achieve
33+
FIGlet utility.  It uses the powerful libcaca library to achieve
3434
various text-based effects.")
3535
    (license license:wtfpl2)))

modules/cogd/packages/guile-xyz.scm unknown status 1

1+
;;; SPDX-FileCopyrightText: 2025 Evgeny Pisemsky <mail@pisemsky.site>
2+
;;;
3+
;;; SPDX-License-Identifier: GPL-3.0-or-later
4+
5+
(define-module (cogd packages guile-xyz))
6+
7+
(use-modules (guix packages)
8+
             (guix git-download)
9+
             (guix build-system guile)
10+
             (gnu packages guile)
11+
             ((guix licenses) #:prefix license:))
12+
13+
(define-public guile-gpio
14+
  (let ((commit "363a036dbfe26c02ce32864894af9224483bc84b")
15+
        (revision "0"))
16+
    (package
17+
      (name "guile-gpio")
18+
      (version (git-version "0" revision commit))
19+
      (source
20+
       (origin
21+
         (method git-fetch)
22+
         (uri (git-reference
23+
               (url "https://git.dthompson.us/guile-gpio.git")
24+
               (commit commit)))
25+
         (file-name (git-file-name name version))
26+
         (sha256
27+
          (base32 "158xb3s8mkn1v17df1zpw4gnyr8bpvqhjndxbjsnr0flgd8c0c58"))))
28+
      (build-system guile-build-system)
29+
      (native-inputs (list guile-3.0))
30+
      (home-page "https://git.dthompson.us/guile-gpio/")
31+
      (synopsis "Guile interface to the Linux GPIO sysfs API")
32+
      (description
33+
       "Guile-GPIO provides a convenient Guile interface to the Linux GPIO
34+
Sysfs API.  It abstracts away all of the details regarding the GPIO
35+
file system and allows the programmer to focus on writing userspace
36+
GPIO drivers rather than fiddling with file descriptors.")
37+
      (license license:lgpl3+))))