nixpkgs/pkgs/os-specific/linux/acpid/default.nix
2021-12-24 15:07:14 +08:00

20 lines
545 B
Nix

{ lib, stdenv, fetchurl, autoreconfHook }:
stdenv.mkDerivation rec {
pname = "acpid";
version = "2.0.33";
src = fetchurl {
url = "mirror://sourceforge/acpid2/acpid-${version}.tar.xz";
sha256 = "sha256-CFb3Gz6zShtmPQqOY2Pfy8UZ5j2EczBJiJhljily2+g=";
};
nativeBuildInputs = [ autoreconfHook ];
meta = with lib; {
homepage = "https://sourceforge.net/projects/acpid2/";
description = "A daemon for delivering ACPI events to userspace programs";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}