2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, numactl, ncurses, check }:
|
2019-04-14 19:26:05 +02: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-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2019-04-14 19:26:05 +02:00
|
|
|
buildInputs = [ numactl ncurses ];
|
|
|
|
checkInputs = [ check ];
|
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2019-04-14 23:04:40 +02:00
|
|
|
description = "Tool for runtime memory locality characterization and analysis of processes and threads on a NUMA system";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://01.org/numatop";
|
2019-04-14 19:26:05 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ dtzWill ];
|
2019-04-15 15:01:36 +02:00
|
|
|
platforms = [
|
|
|
|
{ kernel.name = "linux"; cpu.family = "x86"; }
|
|
|
|
{ kernel.name = "linux"; cpu.family = "power"; }
|
|
|
|
];
|
2019-04-14 19:26:05 +02:00
|
|
|
};
|
|
|
|
}
|