From 2a58708d7406cf27ae70931527c9e63d6fd53664 Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 2 Nov 2012 23:56:13 +0100 Subject: [PATCH] acpid: Update to version 2.0.17. 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 --- pkgs/os-specific/linux/acpid/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/os-specific/linux/acpid/default.nix b/pkgs/os-specific/linux/acpid/default.nix index 40db323c5226..fe1792478d6b 100644 --- a/pkgs/os-specific/linux/acpid/default.nix +++ b/pkgs/os-specific/linux/acpid/default.nix @@ -1,11 +1,11 @@ {stdenv, fetchurl}: stdenv.mkDerivation rec { - name = "acpid-1.0.10"; - + name = "acpid-2.0.17"; + src = fetchurl { - url = "mirror://sourceforge/acpid/${name}.tar.gz"; - sha256 = "0q27adx0c0bzvy9f9zfny69iaay3b4b79b693fhaq1bkvph3qw12"; + url = "http://tedfelix.com/linux/${name}.tar.xz"; + sha256 = "0gksl6z3sb6yyk7bdmldxsrncvprd3rny0i8ggl4m95nvv3x5drn"; }; preBuild = '' @@ -13,8 +13,8 @@ stdenv.mkDerivation rec { ''; meta = { - homepage = http://acpid.sourceforge.net/; + homepage = http://tedfelix.com/linux/acpid-netlink.html; description = "A daemon for delivering ACPI events to userspace programs"; - license = "GPLv2+"; + license = stdenv.lib.licenses.gpl2Plus; }; }