Merge pull request #257357 from MikaelFangel/init-slurm

This commit is contained in:
Janik 2023-09-26 16:45:21 +02:00 committed by GitHub
commit 5e05bf1385
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 38 additions and 0 deletions

View File

@ -11415,6 +11415,12 @@
githubId = 43088426;
name = "Mihnea Stoian";
};
mikaelfangel = {
email = "nixpkgs.bottle597@passfwd.com";
github = "MikaelFangel";
githubId = 34864484;
name = "Mikael Fangel";
};
mikefaille = {
email = "michael@faille.io";
github = "mikefaille";

View File

@ -0,0 +1,32 @@
{ stdenv
, lib
, fetchFromGitHub
, pkg-config
, meson
, ncurses
, ninja
}:
stdenv.mkDerivation rec {
pname = "slurm";
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 = "A generic network load monitor";
homepage = "https://github.com/mattthias/slurm";
license = licenses.gpl2Plus;
platforms = with platforms; [ "x86_64-linux" ];
maintainers = with maintainers; [ mikaelfangel ];
mainProgram = "slurm";
};
}