keep-sorted: add update script

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
Paul Meyer 2024-03-05 20:20:15 +01:00
parent d597b3c3ee
commit ac3b8fd117

View File

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, nix-update-script
}:
buildGoModule rec {
@ -25,6 +26,8 @@ buildGoModule rec {
"-skip=^TestGoldens"
];
passthru.updateScript = nix-update-script { };
meta = {
changelog = "https://github.com/google/keep-sorted/releases/tag/v${version}";
description = "Language-agnostic formatter that sorts lines between two markers in a larger file";