sops: add update script

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu
2024-06-28 17:09:59 +02:00
parent 3901dc7822
commit 9b04a47fc0
+3 -1
View File
@@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, nix-update-script }:
buildGoModule rec {
pname = "sops";
@@ -17,6 +17,8 @@ buildGoModule rec {
ldflags = [ "-s" "-w" "-X github.com/getsops/sops/v3/version.Version=${version}" ];
passthru.updateScript = nix-update-script { };
meta = with lib; {
homepage = "https://github.com/getsops/sops";
description = "Simple and flexible tool for managing secrets";