mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
{net, disk, sys}watch: add tomasrivera as maintainer, update homepage and changelog, remove versionCheckProgramArg, add optional dependency (#551775)
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
|
||||
# full SMART attribute tables. Else, fallback to basic verified/failing flag from diskutil
|
||||
withSmartmontools ? false,
|
||||
smartmontools,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -22,16 +26,19 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
nativeCheckInputs = [ versionCheckHook ];
|
||||
|
||||
doInstallCheck = true;
|
||||
buildInputs = lib.optionals withSmartmontools [ smartmontools ];
|
||||
|
||||
versionCheckProgramArg = [ "-V" ];
|
||||
doInstallCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "Single-host, read-only disk diagnostics TUI";
|
||||
homepage = "https://github.com/matthart1983/diskwatch";
|
||||
homepage = "https://www.netwatchlabs.com/labs/diskwatch";
|
||||
changelog = "https://github.com/matthart1983/diskwatch/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
maintainers = with lib.maintainers; [
|
||||
fab
|
||||
tomasrivera
|
||||
];
|
||||
mainProgram = "diskwatch";
|
||||
};
|
||||
})
|
||||
|
||||
@@ -35,8 +35,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
meta = {
|
||||
description = "Real-time network diagnostics in your terminal.";
|
||||
homepage = "https://github.com/matthart1983/netwatch";
|
||||
changelog = "https://github.com/matthart1983/netwatch/releases/tag/${finalAttrs.src.tag}";
|
||||
homepage = "https://www.netwatchlabs.com/labs/netwatch";
|
||||
changelog = "https://github.com/matthart1983/netwatch/blob/${finalAttrs.src.tag}/CHANGELOG.md";
|
||||
license = lib.licenses.mit;
|
||||
mainProgram = "netwatch";
|
||||
maintainers = with lib.maintainers; [ tomasrivera ];
|
||||
|
||||
@@ -24,14 +24,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
|
||||
doInstallCheck = true;
|
||||
|
||||
versionCheckProgramArg = [ "-V" ];
|
||||
|
||||
meta = {
|
||||
description = "Single-host system diagnostics TUI tool";
|
||||
homepage = "https://github.com/matthart1983/syswatch";
|
||||
homepage = "https://www.netwatchlabs.com/labs/syswatch";
|
||||
changelog = "https://github.com/matthart1983/syswatch/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
maintainers = with lib.maintainers; [
|
||||
fab
|
||||
tomasrivera
|
||||
];
|
||||
mainProgram = "syswatch";
|
||||
};
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user