mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
2a58708d74
The reason behind this is because /proc/acpi/event has long been deprecated in kernel 2.6.24 and is only there far backwards-compatibility reasons. New ACPI events are delivered by either the input layer or the netlink interface. As we no longer use kernels down to 2.6.24, I guess it's safe to make this switch. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
21 lines
529 B
Nix
21 lines
529 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "acpid-2.0.17";
|
|
|
|
src = fetchurl {
|
|
url = "http://tedfelix.com/linux/${name}.tar.xz";
|
|
sha256 = "0gksl6z3sb6yyk7bdmldxsrncvprd3rny0i8ggl4m95nvv3x5drn";
|
|
};
|
|
|
|
preBuild = ''
|
|
makeFlagsArray=(BINDIR=$out/bin SBINDIR=$out/sbin MAN8DIR=$out/share/man/man8)
|
|
'';
|
|
|
|
meta = {
|
|
homepage = http://tedfelix.com/linux/acpid-netlink.html;
|
|
description = "A daemon for delivering ACPI events to userspace programs";
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
|
};
|
|
}
|