Commit Graph

11 Commits

Author SHA1 Message Date
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
Michael Weiss
5282bc9a74
nixos/brightnessctl: Remove the module
Due to the support of the systemd-logind API the udev rules aren't
required anymore which renders this module useless [0].
Note: brightnessctl should now require a working D-Bus setup and a valid
local logind session for this to work.

[0]: https://github.com/NixOS/nixpkgs/pull/79663
2020-02-10 23:18:20 +01:00
Michael Weiss
cf5dd2623b
brightnessctl: Add systemd support
This makes it possible to use brightnessctl without udev rules / suid.
2020-02-09 23:52:32 +01:00
R. RyanTM
d6634f6f4f brightnessctl: 0.4 -> 0.5.1 2020-02-06 05:21:26 +00:00
volth
7b8fb5c06c treewide: remove redundant quotes 2019-09-08 23:38:31 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Meghea Iulian
6f3425804c brightnessctl: fix udev, cleanup & meta update 2018-11-04 16:26:49 +02:00
R. RyanTM
fccabaf397 brightnessctl: 0.3.2 -> 0.4
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/brightnessctl/versions
2018-09-25 07:55:21 -07:00
Matthew Bauer
68b5f51d6f brightnessctl: also install udev rules
Fixes #44877
2018-08-10 13:44:58 -04:00
Brian McKenna
450db02db1 brightnessctl: fix permissions 2018-06-18 20:06:54 +10:00
dje4321
1b7ce4c6d5 brightnessctl: init at 0.3.2 (#42102)
* brightnessctl: init at 0.3.2

* Revised PR
2018-06-16 18:15:42 -04:00