gnu: Add dialect.

* gnu/packages/gnome.scm (dialect): New variable.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Dominik Delgado Steuter 2023-04-27 00:22:41 +02:00 committed by Ludovic Courtès
parent 1af79a0615
commit e7ab908e0a
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -75,6 +75,7 @@
;;; Copyright © 2022 Arjan Adriaanse <arjan@adriaan.se>
;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi@protonmail.com>
;;; Copyright © 2023 Juliana Sims <juli@incana.org>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;;
;;; This file is part of GNU Guix.
;;;
@ -10409,6 +10410,45 @@ (define-public endeavour
(define-public gnome-todo
(deprecated-package "gnome-todo" endeavour))
(define-public dialect
(package
(name "dialect")
(version "2.1.1")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/dialect-app/dialect")
(commit version)
(recursive? #t))) ;po module
(file-name (git-file-name name version))
(sha256
(base32
"0wac9r33zslyhvadyj7iaapskk7f9pfvia7zlqfksfhkaji6gmna"))))
(build-system meson-build-system)
(arguments
`(#:glib-or-gtk? #t))
(native-inputs (list blueprint-compiler
desktop-file-utils
`(,glib "bin")
gnu-gettext
gobject-introspection
`(,gtk "bin")
pkg-config))
(propagated-inputs (list gstreamer
libadwaita
libsoup
python
python-gtts
python-pygobject
python-requests))
(home-page "https://apps.gnome.org/app/app.drey.Dialect")
(synopsis "Translation application for GNOME")
(description
"Dialect is a simple translation application that uses Google Translate
(default), LibreTranslate or Lingva Translate. It includes features
like automatic language detection, text-to-speech and clipboard buttons.")
(license license:gpl3+)))
(define-public gnome-dictionary
(package
(name "gnome-dictionary")