macmon: add nix-update-script
Makes it easier to update the package down the line, especially with the versionCheckHook checking if it compiled correctly!
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
versionCheckHook,
|
||||
nix-update-script,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage (finalAttrs: {
|
||||
@@ -23,6 +24,8 @@ rustPlatform.buildRustPackage (finalAttrs: {
|
||||
];
|
||||
doInstallCheck = true;
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
description = "Sudoless performance monitoring for Apple Silicon processors";
|
||||
homepage = "https://github.com/vladkens/macmon";
|
||||
|
||||
Reference in New Issue
Block a user