ripsecrets: add nix-update-script

This commit is contained in:
Petr Portnov
2026-04-24 12:41:32 +03:00
parent 73c90e863b
commit 1e10d06fb7
+7
View File
@@ -2,6 +2,8 @@
lib,
rustPlatform,
fetchFromGitHub,
versionCheckHook,
nix-update-script,
}:
rustPlatform.buildRustPackage (finalAttrs: {
@@ -17,6 +19,11 @@ rustPlatform.buildRustPackage (finalAttrs: {
cargoHash = "sha256-2HsUNN3lyGb/eOUEN/vTOQbAy59DQSzIaOqdk9+KhfU=";
doInstallCheck = true;
nativeInstallCheckInputs = [ versionCheckHook ];
passthru.updateScript = nix-update-script { };
meta = {
description = "Command-line tool to prevent committing secret keys into your source code";
homepage = "https://github.com/sirwart/ripsecrets";