forked from mirrors/nixpkgs
* Added acpid, a daemon that monitors ACPI events.
svn path=/nixpkgs/trunk/; revision=14026
This commit is contained in:
parent
efbfa0c395
commit
efa1bf9cb5
20
pkgs/os-specific/linux/acpid/default.nix
Normal file
20
pkgs/os-specific/linux/acpid/default.nix
Normal 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+";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue