2009-02-10 23:12:18 +00:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2010-02-11 18:59:58 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "acpid-1.0.10";
|
2009-02-10 23:12:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2010-02-11 18:59:58 +00:00
|
|
|
url = "mirror://sourceforge/acpid/${name}.tar.gz";
|
|
|
|
sha256 = "0q27adx0c0bzvy9f9zfny69iaay3b4b79b693fhaq1bkvph3qw12";
|
2009-02-10 23:12:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
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+";
|
|
|
|
};
|
|
|
|
}
|