1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 19:45:54 +00:00
nixpkgs/pkgs/os-specific/linux/irqbalance/default.nix

26 lines
736 B
Nix
Raw Normal View History

2017-08-01 00:50:48 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }:
2016-01-03 17:05:18 +00:00
stdenv.mkDerivation rec {
2017-08-01 00:50:48 +01:00
name = "irqbalance-${version}";
version = "1.5.0";
2016-01-03 17:05:18 +00:00
src = fetchFromGitHub {
owner = "irqbalance";
repo = "irqbalance";
2017-08-01 00:50:48 +01:00
rev = "v${version}";
sha256 = "1wdwch4nb479xhinin4yqvcjah6h09i4nh8fhnsfbn1mzl0hiv09";
2016-01-03 17:05:18 +00:00
};
2017-08-01 00:50:48 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
buildInputs = [ glib ncurses libcap_ng ];
2016-01-03 17:05:18 +00:00
2017-08-01 00:50:48 +01: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;
};
}