mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
28 lines
859 B
Nix
28 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"; }
|
|
];
|
|
};
|
|
}
|