nixpkgs/pkgs/os-specific/linux/acpid/default.nix
Lluís Batlle i Rossell fab150b628 Updating acpid.
svn path=/nixpkgs/trunk/; revision=19942
2010-02-11 18:59:58 +00:00

20 lines
497 B
Nix

{stdenv, fetchurl}:
stdenv.mkDerivation rec {
name = "acpid-1.0.10";
src = fetchurl {
url = "mirror://sourceforge/acpid/${name}.tar.gz";
sha256 = "0q27adx0c0bzvy9f9zfny69iaay3b4b79b693fhaq1bkvph3qw12";
};
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+";
};
}