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