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