2017-07-31 23:50:48 +00:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }:
|
2016-01-03 17:05:18 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "irqbalance";
|
2019-06-01 22:41:41 +00:00
|
|
|
version = "1.6.0";
|
2016-01-03 17:05:18 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "irqbalance";
|
|
|
|
repo = "irqbalance";
|
2017-07-31 23:50:48 +00:00
|
|
|
rev = "v${version}";
|
2019-06-01 22:41:41 +00:00
|
|
|
sha256 = "01r9s63yxaijg8jqcbkwqlyqq2z673szb0vzd7qb2y3gk5jlif2y";
|
2016-01-03 17:05:18 +00:00
|
|
|
};
|
|
|
|
|
2017-07-31 23:50:48 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ glib ncurses libcap_ng ];
|
2016-01-03 17:05:18 +00:00
|
|
|
|
2017-07-31 23:50:48 +00:00
|
|
|
LDFLAGS = "-lncurses";
|
2016-01-03 17:05:18 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|