nixpkgs/pkgs/os-specific/linux/acpid/default.nix
Eelco Dolstra efa1bf9cb5 * Added acpid, a daemon that monitors ACPI events.
svn path=/nixpkgs/trunk/; revision=14026
2009-02-10 23:12:18 +00:00

20 lines
494 B
Nix

{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+";
};
}