diff options
author | Janik <80165193+Janik-Haag@users.noreply.github.com> | 2023-09-26 16:45:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-26 16:45:21 +0200 |
commit | 5e05bf13858a4240d99190b9fd651a25b696c651 (patch) | |
tree | 06f0d9098e931aa46e57606386c467cf85824bb0 | |
parent | ef8f77d411558688ffa2ec7a11671139f50a7913 (diff) | |
parent | 3dbd37f5ecb7f6ee1cad12e3348502bf27da9fc7 (diff) |
Merge pull request #257357 from MikaelFangel/init-slurm
-rw-r--r-- | maintainers/maintainer-list.nix | 6 | ||||
-rw-r--r-- | pkgs/by-name/sl/slurm-nm/package.nix | 32 |
2 files changed, 38 insertions, 0 deletions
diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index 7c6a7b33d8448..92c856ea5d684 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -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"; diff --git a/pkgs/by-name/sl/slurm-nm/package.nix b/pkgs/by-name/sl/slurm-nm/package.nix new file mode 100644 index 0000000000000..57d801892c7e0 --- /dev/null +++ b/pkgs/by-name/sl/slurm-nm/package.nix @@ -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"; + }; +} |