Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib, stdenv, fetchurl, autoreconfHook }: 2 3stdenv.mkDerivation rec { 4 pname = "acpid"; 5 version = "2.0.34"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/acpid2/acpid-${version}.tar.xz"; 9 sha256 = "sha256-LQlcjPy8hHyux0bWLNyNC/8ewbxy73xnTHIeBNpqszM="; 10 }; 11 12 nativeBuildInputs = [ autoreconfHook ]; 13 14 meta = with lib; { 15 homepage = "https://sourceforge.net/projects/acpid2/"; 16 description = "A daemon for delivering ACPI events to userspace programs"; 17 license = licenses.gpl2Plus; 18 platforms = platforms.linux; 19 }; 20}