Merge pull request #59501 from dtzWill/feature/numatop

numatop: init at 2.1
This commit is contained in:
markuskowa 2019-04-17 17:24:34 +02:00 committed by GitHub
commit 3884afada4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,27 @@
{ 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; {
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"; }
];
};
}

View File

@ -1607,6 +1607,8 @@ in
long-shebang = callPackage ../misc/long-shebang {};
numatop = callPackage ../os-specific/linux/numatop { };
iio-sensor-proxy = callPackage ../os-specific/linux/iio-sensor-proxy { };
ipvsadm = callPackage ../os-specific/linux/ipvsadm { };