3
0
Fork 0
forked from mirrors/nixpkgs

* Added acpid, a daemon that monitors ACPI events.

svn path=/nixpkgs/trunk/; revision=14026
This commit is contained in:
Eelco Dolstra 2009-02-10 23:12:18 +00:00
parent efbfa0c395
commit efa1bf9cb5
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "acpid-1.0.8";
src = fetchurl {
url = mirror://sourceforge/acpid/acpid-1.0.8.tar.gz;
sha256 = "1cdp4vql8ya073b42mjpzpzzn1py00baazq91837vhrq5hqfaynm";
};
preBuild = ''
makeFlagsArray=(BINDIR=$out/bin SBINDIR=$out/sbin MAN8DIR=$out/share/man/man8)
'';
meta = {
homepage = http://acpid.sourceforge.net/;
description = "A daemon for delivering ACPI events to userspace programs";
license = "GPLv2+";
};
}

View file

@ -5905,6 +5905,10 @@ let
inherit fetchurl stdenv;
};
acpid = import ../os-specific/linux/acpid {
inherit fetchurl stdenv;
};
acpitool = import ../os-specific/linux/acpitool {
inherit fetchurl stdenv;
};