mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-17 19:23:50 +00:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
726 B
Nix
26 lines
726 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "irqbalance";
|
|
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;
|
|
};
|
|
}
|