diff options
author | Bram Duvigneau <bram@bramd.nl> | 2015-04-29 23:02:09 +0200 |
---|---|---|
committer | Bram Duvigneau <bram@bramd.nl> | 2015-04-29 23:02:09 +0200 |
commit | 9a535b90238938e38bdb0498e9f2558ace782a4f (patch) | |
tree | 7dacf0ad8ef2c406c84fc1def42b92fad936befb /pkgs/tools/misc/brltty | |
parent | 06cf9a961371180f88529bdae3e784bc41b39f89 (diff) | |
download | nixlib-9a535b90238938e38bdb0498e9f2558ace782a4f.tar nixlib-9a535b90238938e38bdb0498e9f2558ace782a4f.tar.gz nixlib-9a535b90238938e38bdb0498e9f2558ace782a4f.tar.bz2 nixlib-9a535b90238938e38bdb0498e9f2558ace782a4f.tar.lz nixlib-9a535b90238938e38bdb0498e9f2558ace782a4f.tar.xz nixlib-9a535b90238938e38bdb0498e9f2558ace782a4f.tar.zst nixlib-9a535b90238938e38bdb0498e9f2558ace782a4f.zip |
Added BRLTTY package
Diffstat (limited to 'pkgs/tools/misc/brltty')
-rw-r--r-- | pkgs/tools/misc/brltty/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/pkgs/tools/misc/brltty/default.nix b/pkgs/tools/misc/brltty/default.nix new file mode 100644 index 000000000000..4201fb25f98a --- /dev/null +++ b/pkgs/tools/misc/brltty/default.nix @@ -0,0 +1,33 @@ +{ stdenv, fetchurl, pkgconfig, alsaSupport, alsaLib ? null, bluez }: + +assert alsaSupport -> alsaLib != null; + +stdenv.mkDerivation rec { + name = "brltty-5.2"; + + src = fetchurl { + url = "http://brltty.com/archive/${name}.tar.gz"; + sha256 = "1zaab5pxkqrv081n23p3am445d30gk0km4azqdirvcpw9z15q0cz"; + }; + + buildInputs = [ pkgconfig alsaLib bluez ] + ++ stdenv.lib.optional alsaSupport alsaLib; + + meta = { + description = "Access software for a blind person using a braille display"; + longDescription = '' + BRLTTY is a background process (daemon) which provides access to the Linux/Unix + console (when in text mode) for a blind person using a refreshable braille display. + It drives the braille display, and provides complete screen review functionality. + Some speech capability has also been incorporated. + ''; + homepage = http://www.brltty.com/; + license = stdenv.lib.licenses.gpl2; + maintainers = [ stdenv.lib.maintainers.bramd ]; + platforms = stdenv.lib.platforms.all; + }; + + patchPhase = '' + substituteInPlace configure --replace /sbin/ldconfig ldconfig + ''; +} |