mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
21 lines
575 B
Nix
21 lines
575 B
Nix
{stdenv, fetchurl}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "acpid-2.0.23";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/acpid2/${name}.tar.xz";
|
|
sha256 = "1vl7c6vc724v4jwki17czgj6lnrknnj1a6llm8gkl32i2gnam5j3";
|
|
};
|
|
|
|
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;
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|