summaryrefslogtreecommitdiff
path: root/gnu/packages/radio.scm
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2024-10-23 16:47:26 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2024-10-23 17:50:11 +0200
commiteba2b7de03450146858c06b3bbc1597cf1d43f36 (patch)
tree1eaabedd99ae1422098f2c65cb5646f953bdb945 /gnu/packages/radio.scm
parente4e1e16bc1b27684b55e6bf047f9f669e1a0c7b5 (diff)
gnu: Add ggmorse.
* gnu/packages/radio.scm (ggmorse): New variable. Change-Id: I0f05ad21d6e72b72568f566a79a1d003a0a3a656
Diffstat (limited to 'gnu/packages/radio.scm')
-rw-r--r--gnu/packages/radio.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm
index 3a463e21df5..1c219ac268f 100644
--- a/gnu/packages/radio.scm
+++ b/gnu/packages/radio.scm
@@ -109,6 +109,7 @@
#:use-module (gnu packages tex)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages toolkits)
#:use-module (gnu packages video)
#:use-module (gnu packages web)
#:use-module (gnu packages wxwidgets)
@@ -2209,6 +2210,36 @@ intended for people who want to learn receiving and sending morse code.")
"KochMorse is a simple morse-code tutor using the Koch method.")
(license license:gpl2+)))
+(define-public ggmorse
+ (let ((commit "8fb433d6cd6a71940f51b5724663ec0c75bf0b62")
+ (revision "1"))
+ (package
+ (name "ggmorse")
+ (version (git-version "0.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ggerganov/ggmorse")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1lhsmyhljqa6apzbysqar56wpfcdvs3pq9ia1mshqd6d3hz74s78"))))
+ (build-system cmake-build-system)
+ (arguments
+ (list #:configure-flags #~(list "-DGGMORSE_SUPPORT_SDL2=OFF")
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'disable-imgui-build
+ (lambda _
+ (substitute* "examples/CMakeLists.txt"
+ (("add_subdirectory\\(third-party\\)")
+ "")))))))
+ (synopsis "Morse code decoder")
+ (description "GGMorse is a library that decodes Morse code in real-time
+from raw audio.")
+ (home-page "https://ggmorse.ggerganov.com/")
+ (license license:expat))))
+
(define-public gnuais
(package
(name "gnuais")