nixpkgs-suyu/pkgs/os-specific/linux/irqbalance/default.nix
2017-08-01 08:36:33 +02:00

25 lines
736 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }:
stdenv.mkDerivation rec {
name = "irqbalance-${version}";
version = "1.2.0";
src = fetchFromGitHub {
owner = "irqbalance";
repo = "irqbalance";
rev = "v${version}";
sha256 = "1xznxjbjzg6sds3fymdq9rk3g4cgq7xj7rz3dwbqqjqvd3k2nxw6";
};
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib ncurses libcap_ng ];
LDFLAGS = "-lncurses";
meta = {
homepage = https://github.com/Irqbalance/irqbalance;
description = "A daemon to help balance the cpu load generated by interrupts across all of a systems cpus";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
};
}