siomon: init at 0.2.2 (#501034)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user