diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-03-25 09:09:45 +0100 |
---|---|---|
committer | Robert Schütz <dev@schuetz-co.de> | 2021-03-25 09:16:40 +0100 |
commit | cbd89b2a5f20196ebb6c24d3f45d2174a106ce3e (patch) | |
tree | 71cb6031393ada0036d9b7625333e0c211c038c3 /pkgs/tools | |
parent | 43b02818f6291776749e1cc7750fa69a72c3af4d (diff) |
ytfzf: 1.1.0 -> 1.1.1
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/ytfzf/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/ytfzf/no-update.patch | 10 |
2 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/tools/misc/ytfzf/default.nix b/pkgs/tools/misc/ytfzf/default.nix index 56e139941b2a..df369147d342 100644 --- a/pkgs/tools/misc/ytfzf/default.nix +++ b/pkgs/tools/misc/ytfzf/default.nix @@ -16,13 +16,13 @@ stdenv.mkDerivation rec { pname = "ytfzf"; - version = "1.1.0"; + version = "1.1.1"; src = fetchFromGitHub { owner = "pystardust"; repo = "ytfzf"; rev = "v${version}"; - sha256 = "sha256-ATQRXYaIp1MKCO/EAPsopzFEZeNJzdk73/OcgjsMdkg="; + sha256 = "sha256-286rN3g6leSnbZZ0VjWl43nhBAMPJDUMv7DhgVTsjKw="; }; patches = [ diff --git a/pkgs/tools/misc/ytfzf/no-update.patch b/pkgs/tools/misc/ytfzf/no-update.patch index 07ca62cd9434..13e57abb496b 100644 --- a/pkgs/tools/misc/ytfzf/no-update.patch +++ b/pkgs/tools/misc/ytfzf/no-update.patch @@ -1,13 +1,13 @@ diff --git a/ytfzf b/ytfzf -index 5238682..c5c3a1a 100755 +index f7871c7..179c836 100755 --- a/ytfzf +++ b/ytfzf -@@ -757,23 +757,8 @@ clear_history () { +@@ -829,23 +829,8 @@ send_notify () { } update_ytfzf () { -- branch="$1" -- updatefile="/tmp/ytfzf-update" +- local branch="$1" +- local updatefile="/tmp/ytfzf-update" - curl -L "https://raw.githubusercontent.com/pystardust/ytfzf/$branch/ytfzf" -o "$updatefile" - - if sed -n '1p' < "$updatefile" | grep -q '#!/bin/sh' ; then @@ -27,4 +27,4 @@ index 5238682..c5c3a1a 100755 + exit 1 } - + scrape_subscriptions () { |