diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-03-25 09:42:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-25 09:42:21 +0100 |
commit | 3f9d424f348d0fa0e1943f92ddf013f63bc5b2de (patch) | |
tree | 78000a1ec27e082c9c4de7eabe8813f6856c5432 /pkgs/tools | |
parent | 16b93a5d9ad823a61944de6292cc02f1dc3173fe (diff) | |
parent | cbd89b2a5f20196ebb6c24d3f45d2174a106ce3e (diff) |
Merge pull request #117565 from dotlambda/ytfzf-1.1.1
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 () { |