2009-02-11 00:12:18 +01:00
|
|
|
{stdenv, fetchurl}:
|
|
|
|
|
2010-02-11 19:59:58 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2014-09-21 19:22:16 +02:00
|
|
|
name = "acpid-2.0.23";
|
2012-11-02 23:56:13 +01:00
|
|
|
|
2009-02-11 00:12:18 +01:00
|
|
|
src = fetchurl {
|
2013-11-20 19:50:57 +01:00
|
|
|
url = "mirror://sourceforge/acpid2/${name}.tar.xz";
|
2014-09-21 19:22:16 +02:00
|
|
|
sha256 = "1vl7c6vc724v4jwki17czgj6lnrknnj1a6llm8gkl32i2gnam5j3";
|
2009-02-11 00:12:18 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preBuild = ''
|
|
|
|
makeFlagsArray=(BINDIR=$out/bin SBINDIR=$out/sbin MAN8DIR=$out/share/man/man8)
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2012-11-02 23:56:13 +01:00
|
|
|
homepage = http://tedfelix.com/linux/acpid-netlink.html;
|
2009-02-11 00:12:18 +01:00
|
|
|
description = "A daemon for delivering ACPI events to userspace programs";
|
2012-11-02 23:56:13 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2013-06-18 22:48:34 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2009-02-11 00:12:18 +01:00
|
|
|
};
|
|
|
|
}
|