summary refs log tree commit diff
path: root/pkgs/applications/networking
diff options
context:
space:
mode:
authorJosé Romildo Malaquias <malaquias@gmail.com>2022-02-23 18:48:24 -0300
committerGitHub <noreply@github.com>2022-02-23 18:48:24 -0300
commitf1143cb501dad871fbd79d12c772c1bd3b5fd385 (patch)
tree5a85b71d5d232180bea923ca4ecf572f80350b89 /pkgs/applications/networking
parentca856a724df92b4480eb34c55489733a68b50361 (diff)
parent005ac63a1910945086e40d197164a5aae4c38090 (diff)
downloadnixpkgs-f1143cb501dad871fbd79d12c772c1bd3b5fd385.tar
nixpkgs-f1143cb501dad871fbd79d12c772c1bd3b5fd385.tar.gz
nixpkgs-f1143cb501dad871fbd79d12c772c1bd3b5fd385.tar.bz2
nixpkgs-f1143cb501dad871fbd79d12c772c1bd3b5fd385.tar.lz
nixpkgs-f1143cb501dad871fbd79d12c772c1bd3b5fd385.tar.xz
nixpkgs-f1143cb501dad871fbd79d12c772c1bd3b5fd385.tar.zst
nixpkgs-f1143cb501dad871fbd79d12c772c1bd3b5fd385.zip
Merge pull request #161144 from romildo/new.git-updater
gitUpdater: init
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r--pkgs/applications/networking/shellhub-agent/default.nix6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkgs/applications/networking/shellhub-agent/default.nix b/pkgs/applications/networking/shellhub-agent/default.nix
index 0b95023ad59..d698601cb19 100644
--- a/pkgs/applications/networking/shellhub-agent/default.nix
+++ b/pkgs/applications/networking/shellhub-agent/default.nix
@@ -1,8 +1,7 @@
 { lib
 , buildGoModule
 , fetchFromGitHub
-, genericUpdater
-, common-updater-scripts
+, gitUpdater
 , makeWrapper
 , openssh
 }:
@@ -25,9 +24,8 @@ buildGoModule rec {
   ldflags = [ "-s" "-w" "-X main.AgentVersion=v${version}" ];
 
   passthru = {
-    updateScript = genericUpdater {
+    updateScript = gitUpdater {
       inherit pname version;
-      versionLister = "${common-updater-scripts}/bin/list-git-tags ${src.meta.homepage}";
       rev-prefix = "v";
       ignoredVersions = ".(rc|beta).*";
     };