summaryrefslogtreecommitdiff
path: root/gnu/packages/accessibility.scm
diff options
context:
space:
mode:
authorRaghav Gururajan <raghavgururajan@disroot.org>2020-08-07 23:07:23 -0400
committerDanny Milosavljevic <dannym@scratchpost.org>2020-08-18 23:26:15 +0200
commitedaa508100fee7e629a69f8fb116707513a87a9d (patch)
treefc16c7ac13be28b3a217ad486104bb79e693055f /gnu/packages/accessibility.scm
parent22e4409473ad98e999c1ef04b4d07b5e9c2f0c82 (diff)
gnu: Add libbraille.
* gnu/packages/accessibility.scm (libbraille): New variable. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
Diffstat (limited to 'gnu/packages/accessibility.scm')
-rw-r--r--gnu/packages/accessibility.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/accessibility.scm b/gnu/packages/accessibility.scm
index 8d421a092a..a329cbdf95 100644
--- a/gnu/packages/accessibility.scm
+++ b/gnu/packages/accessibility.scm
@@ -21,12 +21,19 @@
(define-module (gnu packages accessibility)
#:use-module ((guix licenses) #:prefix license:)
+ #:use-module (guix utils)
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
#:use-module (guix build-system glib-or-gtk)
#:use-module (gnu packages)
+ #:use-module (gnu packages documentation)
+ #:use-module (gnu packages swig)
+ #:use-module (gnu packages libusb)
+ #:use-module (gnu packages java)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages tcl)
#:use-module (gnu packages xml)
#:use-module (gnu packages gnome)
#:use-module (gnu packages gstreamer)
@@ -37,6 +44,41 @@
#:use-module (gnu packages pkg-config)
#:use-module (gnu packages libusb))
+(define-public libbraille
+ (package
+ (name "libbraille")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "https://sourceforge.net/projects/" name "/files/" name "/"
+ name "-" version "/" name "-" version ".tar.gz"))
+ (sha256
+ (base32 "05g8r0ypazqn10i7k48iibs8bzc3scdfcnhcykab8j16lhzd27d0"))))
+ (build-system glib-or-gtk-build-system)
+ (outputs '("out" "bin"))
+ (arguments
+ `(#:tests? #f ; Tests require drivers
+ #:configure-flags
+ (list
+ "--disable-static"
+ "--enable-fake")))
+ (native-inputs
+ `(("latex2html" ,latex2html)
+ ("pkg-config" ,pkg-config)
+ ("python" ,python-wrapper)
+ ("swig" ,swig)))
+ (inputs
+ `(("glib" ,glib)
+ ("gtk+" ,gtk+-2)
+ ("libusb" ,libusb-compat)))
+ (synopsis "Portable Braille Library")
+ (description "Libbraille is a library to easily access Braille displays and
+terminals.")
+ (home-page "https://libbraille.org")
+ (license license:lgpl2.1+)))
+
(define-public florence
(package
(name "florence")