2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, numactl, ncurses, check }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "numatop";
|
|
|
|
version = "2.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/intel/${pname}/releases/download/v${version}/${pname}-v${version}.tar.xz";
|
|
|
|
sha256 = "1s7psq1xyswj0lpx10zg5lnppav2xy9safkfx3rssrs9c2fp5d76";
|
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ numactl ncurses ];
|
|
|
|
checkInputs = [ check ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tool for runtime memory locality characterization and analysis of processes and threads on a NUMA system";
|
|
|
|
homepage = "https://01.org/numatop";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
|
|
|
platforms = [
|
|
|
|
{ kernel.name = "linux"; cpu.family = "x86"; }
|
|
|
|
{ kernel.name = "linux"; cpu.family = "power"; }
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|