mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-21 12:59:04 +02:00
brltty: move defaults to package file, use ALSA on Linux
This commit is contained in:
parent
9361acfff1
commit
578408aa16
|
@ -1,4 +1,6 @@
|
|||
{ stdenv, fetchurl, pkgconfig, python3, alsaSupport, alsaLib ? null, bluez, systemdSupport, systemd ? null }:
|
||||
{ stdenv, fetchurl, pkgconfig, python3, bluez
|
||||
, alsaSupport ? stdenv.isLinux, alsaLib ? null
|
||||
, systemdSupport ? stdenv.isLinux, systemd ? null }:
|
||||
|
||||
assert alsaSupport -> alsaLib != null;
|
||||
assert systemdSupport -> systemd != null;
|
||||
|
|
|
@ -967,10 +967,8 @@ in
|
|||
|
||||
brigand = callPackage ../development/libraries/brigand { };
|
||||
|
||||
brltty = callPackage ../tools/misc/brltty {
|
||||
alsaSupport = (!stdenv.isDarwin);
|
||||
systemdSupport = stdenv.isLinux;
|
||||
};
|
||||
brltty = callPackage ../tools/misc/brltty { };
|
||||
|
||||
bro = callPackage ../applications/networking/ids/bro { };
|
||||
|
||||
bruteforce-luks = callPackage ../tools/security/bruteforce-luks { };
|
||||
|
|
Loading…
Reference in a new issue