From 7b9b395e9b582f2ab236b8fba5d994b6d6ada491 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Thu, 14 Mar 2024 07:53:47 +0000 Subject: [PATCH 1/3] scrutiny: 0.7.3 -> 0.8.0 --- pkgs/by-name/sc/scrutiny/package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/by-name/sc/scrutiny/package.nix b/pkgs/by-name/sc/scrutiny/package.nix index 0abe624af53d..26c22a61fe71 100644 --- a/pkgs/by-name/sc/scrutiny/package.nix +++ b/pkgs/by-name/sc/scrutiny/package.nix @@ -6,13 +6,13 @@ }: let pname = "scrutiny"; - version = "0.7.3"; + version = "0.8.0"; src = fetchFromGitHub { owner = "AnalogJ"; repo = "scrutiny"; rev = "refs/tags/v${version}"; - hash = "sha256-S7GW8z6EWB+5vntKew0+EDVqhun+Ae2//15dSIlfoSs="; + hash = "sha256-ysjE2nn1WwhEiFIvJ5cRCJQf9mECTgiGUyenwf3mKTA="; }; frontend = buildNpmPackage { From ea47f5e75ce821c7b4386c36b05a8abbbb27af49 Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Mon, 18 Mar 2024 08:33:00 +0000 Subject: [PATCH 2/3] scrutiny: add nix-update-script --- pkgs/by-name/sc/scrutiny/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/sc/scrutiny/package.nix b/pkgs/by-name/sc/scrutiny/package.nix index 26c22a61fe71..34712b96e431 100644 --- a/pkgs/by-name/sc/scrutiny/package.nix +++ b/pkgs/by-name/sc/scrutiny/package.nix @@ -3,6 +3,7 @@ , fetchFromGitHub , nixosTests , lib +, nix-update-script }: let pname = "scrutiny"; @@ -35,6 +36,8 @@ let cp -r dist/* $out runHook postInstall ''; + + passthru.updatescript = nix-update-script { }; }; in buildGoModule rec { @@ -56,6 +59,7 @@ buildGoModule rec { ''; passthru.tests.scrutiny = nixosTests.scrutiny; + passthru.updatescript = nix-update-script { }; meta = { description = "Hard Drive S.M.A.R.T Monitoring, Historical Trends & Real World Failure Thresholds."; From f8999bd43b46f087482acb944b772613f1cee4cb Mon Sep 17 00:00:00 2001 From: Jon Seager Date: Mon, 18 Mar 2024 08:33:55 +0000 Subject: [PATCH 3/3] scrutiny-collector: add nix-update-script --- pkgs/by-name/sc/scrutiny-collector/package.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/by-name/sc/scrutiny-collector/package.nix b/pkgs/by-name/sc/scrutiny-collector/package.nix index bebf43638dc3..984a52b21405 100644 --- a/pkgs/by-name/sc/scrutiny-collector/package.nix +++ b/pkgs/by-name/sc/scrutiny-collector/package.nix @@ -4,6 +4,7 @@ , smartmontools , nixosTests , lib +, nix-update-script }: let version = "0.8.0"; @@ -41,6 +42,7 @@ buildGoModule rec { ''; passthru.tests.scrutiny-collector = nixosTests.scrutiny; + passthru.updateScript = nix-update-script { }; meta = { description = "Hard disk metrics collector for Scrutiny.";