depot/third_party/nixpkgs/pkgs/os-specific/linux/numatop/default.nix
Default email ae91cbe6cc Project import generated by Copybara.
GitOrigin-RevId: 536fe36e23ab0fc8b7f35c24603422eee9fc17a2
2021-02-05 18:12:51 +01:00

27 lines
859 B
Nix

{ lib, stdenv, fetchurl, pkg-config, 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 = [ pkg-config ];
buildInputs = [ numactl ncurses ];
checkInputs = [ check ];
doCheck = true;
meta = with 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"; }
];
};
}