diff options
author | Will Dietz <w@wdtz.org> | 2019-04-14 12:26:05 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2019-04-15 08:04:27 -0500 |
commit | 0d600ae89e61e726b04095a2a0f8ec45586b6b77 (patch) | |
tree | 449bc20a80098150844305711363fede4f49747d /pkgs/os-specific/linux/numatop | |
parent | 4907b2165b225213cbf380333f522a6e6bc7a14d (diff) | |
download | nixpkgs-0d600ae89e61e726b04095a2a0f8ec45586b6b77.tar nixpkgs-0d600ae89e61e726b04095a2a0f8ec45586b6b77.tar.gz nixpkgs-0d600ae89e61e726b04095a2a0f8ec45586b6b77.tar.bz2 nixpkgs-0d600ae89e61e726b04095a2a0f8ec45586b6b77.tar.lz nixpkgs-0d600ae89e61e726b04095a2a0f8ec45586b6b77.tar.xz nixpkgs-0d600ae89e61e726b04095a2a0f8ec45586b6b77.tar.zst nixpkgs-0d600ae89e61e726b04095a2a0f8ec45586b6b77.zip |
numatop: init at 2.1
Diffstat (limited to 'pkgs/os-specific/linux/numatop')
-rw-r--r-- | pkgs/os-specific/linux/numatop/default.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/numatop/default.nix b/pkgs/os-specific/linux/numatop/default.nix new file mode 100644 index 00000000000..51d3e4c6d2e --- /dev/null +++ b/pkgs/os-specific/linux/numatop/default.nix @@ -0,0 +1,24 @@ +{ 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 = "observation tool for runtime memory locality characterization and analysis of processes and threads running on a NUMA system"; + homepage = https://01.org/numatop; + license = licenses.bsd3; + maintainers = with maintainers; [ dtzWill ]; + platforms = stdenv.lib.platforms.all; + }; +} |