slurm: init at 0.4.4

Apply suggestions from code review

Co-authored-by: éclairevoyant <848000+eclairevoyant@users.noreply.github.com>

Update pkgs/by-name/sl/slurm-nm/package.nix

Co-authored-by: Janik <80165193+Janik-Haag@users.noreply.github.com>
This commit is contained in:
Mikael Fangel 2023-09-26 02:35:03 +02:00
parent 7b764ef86f
commit 3dbd37f5ec
No known key found for this signature in database
GPG Key ID: 306DE4426F0B77C3
2 changed files with 34 additions and 2 deletions

View File

@ -11412,8 +11412,8 @@
mikaelfangel = {
email = "nixpkgs.bottle597@passfwd.com";
github = "MikaelFangel";
githubID = "34864484";
name = "Mikael Fangel"
githubId = 34864484;
name = "Mikael Fangel";
};
mikefaille = {
email = "michael@faille.io";

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";
};
}