diff --git a/maintainers/maintainer-list.nix b/maintainers/maintainer-list.nix index b9569eb747ea..48b14d633b6f 100644 --- a/maintainers/maintainer-list.nix +++ b/maintainers/maintainer-list.nix @@ -24752,6 +24752,12 @@ githubId = 16844216; name = "Phillip Seeber"; }; + sheevy = { + email = "mw.kubica@gmail.com"; + github = "sheevy"; + githubId = 1525683; + name = "Mateusz Kubica"; + }; sheganinans = { email = "sheganinans@gmail.com"; github = "sheganinans"; diff --git a/pkgs/by-name/si/siomon/package.nix b/pkgs/by-name/si/siomon/package.nix new file mode 100644 index 000000000000..b63657b84b40 --- /dev/null +++ b/pkgs/by-name/si/siomon/package.nix @@ -0,0 +1,38 @@ +{ + lib, + rustPlatform, + fetchFromGitHub, + versionCheckHook, + nix-update-script, +}: + +rustPlatform.buildRustPackage (finalAttrs: { + pname = "siomon"; + version = "0.2.2"; + + src = fetchFromGitHub { + owner = "level1techs"; + repo = "siomon"; + rev = "v${finalAttrs.version}"; + hash = "sha256-ox4J2YKTN2Hf51+gyl6TKiS/6HIMbgplwv73tVAHFd0="; + }; + + cargoHash = "sha256-PC8G/FQjIwdyUBtG6DBon/4ZseihrBUZ/L65Agh6hhY="; + + nativeInstallCheckInputs = [ + versionCheckHook + ]; + doInstallCheck = true; + + passthru.updateScript = nix-update-script { }; + + meta = { + description = "Hardware information and real-time sensor monitoring tool for Linux"; + homepage = "https://github.com/level1techs/siomon"; + changelog = "https://github.com/level1techs/siomon/releases/tag/v${finalAttrs.version}"; + license = lib.licenses.mit; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ sheevy ]; + mainProgram = "sio"; + }; +})