nixpkgs/pkgs/os-specific/linux/acpid/default.nix

22 lines
577 B
Nix
Raw Normal View History

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