Commit Graph

18 Commits

Author SHA1 Message Date
Adam Joseph
42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Bram
13375265e4
brltty: fix systemd-wrapper script
- Use absolute paths to logger and udev.
- Pass the absolute path to the brltty binary to the wrapper.
- Include generic USB devices in udev rules.
- Remove pulse-access group from systemd unit and sysusers.
2021-04-11 10:35:16 +02:00
rnhmjoj
6fc8d59b33
brltty: remove asserts for optional features
Assertions can break overriding a package, see issue #73102.
2021-03-01 18:08:36 +01:00
rnhmjoj
6d1d1fc691
brltty: install systemd,udev,polkit files 2021-03-01 13:15:35 +01:00
rnhmjoj
ba27976cf1
brltty: fix ambiguous license in meta 2021-03-01 12:11:51 +01:00
rnhmjoj
6bfdb6b6bc
brltty: 6.1 -> 6.3 2021-03-01 08:57:21 +01:00
Ben Siraphob
76f93cc731 pkgs/tools: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
R. RyanTM
d9df0d83f2 brltty: 6.0 -> 6.1 2020-04-10 01:00:29 -07:00
R. RyanTM
4a317e9e87 brltty: 5.6 -> 6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/brltty/versions
2019-03-21 00:02:04 -07:00
Jan Malakhovski
578408aa16 brltty: move defaults to package file, use ALSA on Linux 2019-02-13 23:10:56 +00:00
Ryan Mulligan
8754bfd870 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 09:50:25 -08:00
Jan Tojnar
f8a500f722
brltty: build python bindings 2018-01-02 05:06:35 +01:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
Bram Duvigneau
dac2a7693a brltty: 5.4 -> 5.5 2017-06-25 12:12:57 +00:00
Bram Duvigneau
f1d45add3b brltty: 5.2 -> 5.4 2016-10-22 22:03:45 +00:00
Bram Duvigneau
9a535b9023 Added BRLTTY package 2015-04-29 23:02:09 +02:00