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