Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
32 lines
683 B
Nix
32 lines
683 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, pkg-config
|
|
, meson
|
|
, ncurses
|
|
, ninja
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "slurm-nm";
|
|
version = "0.4.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "mattthias";
|
|
repo = "slurm";
|
|
rev = "upstream/${version}";
|
|
hash = "sha256-w77SIXFctMwwNw9cQm0HQaEaMs/5NXQjn1LpvkpCCB8=";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkg-config meson ninja ];
|
|
buildInputs = [ ncurses ];
|
|
|
|
meta = with lib; {
|
|
description = "Generic network load monitor";
|
|
homepage = "https://github.com/mattthias/slurm";
|
|
license = licenses.gpl2Plus;
|
|
platforms = [ "x86_64-linux" ];
|
|
maintainers = with maintainers; [ mikaelfangel ];
|
|
mainProgram = "slurm";
|
|
};
|
|
}
|