nixpkgs/pkgs/tools/misc/brltty/default.nix

41 lines
1.3 KiB
Nix
Raw Normal View History

2017-12-25 05:46:30 +00:00
{ stdenv, fetchurl, pkgconfig, python3, alsaSupport, alsaLib ? null, bluez, systemdSupport, systemd ? null }:
2015-04-29 21:02:09 +00:00
assert alsaSupport -> alsaLib != null;
2016-10-22 20:12:30 +00:00
assert systemdSupport -> systemd != null;
2015-04-29 21:02:09 +00:00
stdenv.mkDerivation rec {
brltty: 5.5 -> 5.6 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ctb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ctb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -V` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -v` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty --version` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty version` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -h` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty --help` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty help` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-trtxt -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-trtxt --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ttb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ttb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-atb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-atb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ktb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ktb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-tune -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-tune --help` got 0 exit code - found 5.6 with grep in /nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6
2018-02-25 17:50:25 +00:00
name = "brltty-5.6";
2017-12-25 05:46:30 +00:00
2015-04-29 21:02:09 +00:00
src = fetchurl {
url = "http://brltty.com/archive/${name}.tar.gz";
brltty: 5.5 -> 5.6 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ctb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ctb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -V` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -v` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty --version` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty version` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty -h` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty --help` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty help` and found version 5.6 - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-trtxt -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-trtxt --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ttb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ttb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-atb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-atb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ktb -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-ktb --help` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-tune -h` got 0 exit code - ran `/nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6/bin/brltty-tune --help` got 0 exit code - found 5.6 with grep in /nix/store/4zz86z1wi6k5nny7wiyqngpm8d94k9r7-brltty-5.6
2018-02-25 17:50:25 +00:00
sha256 = "06by51n35w0jq14w1vimxk3ssrlmiiw49wpxw29rasc106mpysfn";
2015-04-29 21:02:09 +00:00
};
2017-12-25 05:46:30 +00:00
nativeBuildInputs = [ pkgconfig python3.pkgs.cython ];
buildInputs = [ bluez ]
2016-10-22 20:12:30 +00:00
++ stdenv.lib.optional alsaSupport alsaLib
++ stdenv.lib.optional systemdSupport systemd;
2017-12-25 05:46:30 +00:00
2015-04-29 21:02:09 +00:00
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.
2017-12-25 05:46:30 +00:00
Some speech capability has also been incorporated.
2015-04-29 21:02:09 +00:00
'';
homepage = http://www.brltty.com/;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.bramd ];
platforms = stdenv.lib.platforms.all;
};
2017-12-25 05:46:30 +00:00
makeFlags = [ "PYTHON_PREFIX=$(out)" ];
2016-10-22 20:12:30 +00:00
preConfigurePhases = [ "preConfigure" ];
preConfigure = ''
2015-04-29 21:02:09 +00:00
substituteInPlace configure --replace /sbin/ldconfig ldconfig
'';
}