depot/third_party/nixpkgs/pkgs/os-specific/linux/numatop/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

27 lines
859 B
Nix

{ 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"; }
];
};
}