mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 00:24:18 +00:00
8870e3a510
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. These checks were done: - built on NixOS - /nix/store/fkv19sqbw1kxda43q1jqm1zlc8pakzx3-irqbalance-1.4.0/bin/irqbalance passed the binary check. - Warning: no invocation of /nix/store/fkv19sqbw1kxda43q1jqm1zlc8pakzx3-irqbalance-1.4.0/bin/irqbalance-ui had a zero exit code or showed the expected version - 1 of 2 passed binary check by having a zero exit code. - 0 of 2 passed binary check by having the new version present in output. - directory tree listing: https://gist.github.com/786f267f8a2d5f1ed39214c1c32e4ffa - du listing: https://gist.github.com/0fd6680f29f78791a2d23a08bc831456
26 lines
736 B
Nix
26 lines
736 B
Nix
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, glib, ncurses, libcap_ng }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "irqbalance-${version}";
|
|
version = "1.4.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "irqbalance";
|
|
repo = "irqbalance";
|
|
rev = "v${version}";
|
|
sha256 = "05q3cdz2a5zp5s2bdz5a80y9vq7awqw9lbvyvh6vjs9a8vg80hwm";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|