nixpkgs/pkgs/os-specific/linux/irqbalance/default.nix
R. RyanTM 50dc9ded8d irqbalance: 1.5.0 -> 1.6.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/irqbalance/versions
2019-06-01 15:41:41 -07:00

25 lines
736 B
Nix

{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }:
stdenv.mkDerivation rec {
name = "irqbalance-${version}";
version = "1.6.0";
src = fetchFromGitHub {
owner = "irqbalance";
repo = "irqbalance";
rev = "v${version}";
sha256 = "01r9s63yxaijg8jqcbkwqlyqq2z673szb0vzd7qb2y3gk5jlif2y";
};
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;
};
}