From 122b290dbe9b1365708e5872088fe3e42c79156b Mon Sep 17 00:00:00 2001 From: Kira Bruneau Date: Sat, 23 Apr 2022 15:11:35 -0400 Subject: [PATCH] epgstation: use gitUpdater --- pkgs/applications/video/epgstation/default.nix | 6 ++---- pkgs/applications/video/epgstation/update.nix | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/applications/video/epgstation/default.nix b/pkgs/applications/video/epgstation/default.nix index a8ec353d788a..b89193617274 100644 --- a/pkgs/applications/video/epgstation/default.nix +++ b/pkgs/applications/video/epgstation/default.nix @@ -1,8 +1,7 @@ { lib , stdenv , fetchFromGitHub -, common-updater-scripts -, genericUpdater +, gitUpdater , writers , makeWrapper , bash @@ -130,8 +129,7 @@ let inherit pname version - common-updater-scripts - genericUpdater + gitUpdater writers jq yq; diff --git a/pkgs/applications/video/epgstation/update.nix b/pkgs/applications/video/epgstation/update.nix index 5eb23be6c52b..387fbe0db62d 100644 --- a/pkgs/applications/video/epgstation/update.nix +++ b/pkgs/applications/video/epgstation/update.nix @@ -2,19 +2,17 @@ , version , homepage , lib -, common-updater-scripts -, genericUpdater +, gitUpdater , writers , jq , yq }: let - updater = genericUpdater { + updater = gitUpdater { inherit pname version; attrPath = lib.toLower pname; rev-prefix = "v"; - versionLister = "${common-updater-scripts}/bin/list-git-tags --url=${homepage}"; }; updateScript = builtins.elemAt updater 0; updateArgs = map (lib.escapeShellArg) (builtins.tail updater);