diff options
author | WSchnee <mkt@me.com> | 2021-04-03 13:59:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 13:59:27 +0200 |
commit | dcbcfae56e81ede914e94599fa5690112fb69ba5 (patch) | |
tree | cd435e3581fce4a14e964bf1793c92bfac2ad721 /pkgs/tools/misc/ytfzf | |
parent | f50f8e302cbf505efb672f298410b30aeca36814 (diff) |
ytfzf: 1.1.1 -> 1.1.2 (#118393)
Co-authored-by: Robert Schütz <rschuetz17@gmail.com>
Diffstat (limited to 'pkgs/tools/misc/ytfzf')
-rw-r--r-- | pkgs/tools/misc/ytfzf/default.nix | 4 | ||||
-rw-r--r-- | pkgs/tools/misc/ytfzf/no-update.patch | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/tools/misc/ytfzf/default.nix b/pkgs/tools/misc/ytfzf/default.nix index df369147d3428..6129fd4b9dade 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.1"; + version = "1.1.2"; src = fetchFromGitHub { owner = "pystardust"; repo = "ytfzf"; rev = "v${version}"; - sha256 = "sha256-286rN3g6leSnbZZ0VjWl43nhBAMPJDUMv7DhgVTsjKw="; + sha256 = "09az557479d3s1my46d2w86ndkvs2xi127kaw0csag0wlq2qq10p"; }; patches = [ diff --git a/pkgs/tools/misc/ytfzf/no-update.patch b/pkgs/tools/misc/ytfzf/no-update.patch index 13e57abb496be..db7d4b40fccbd 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 f7871c7..179c836 100755 +index 42f41c0..f75f5cb 100755 --- a/ytfzf +++ b/ytfzf -@@ -829,23 +829,8 @@ send_notify () { +@@ -892,23 +892,8 @@ send_notify () { } update_ytfzf () { -- local branch="$1" -- local updatefile="/tmp/ytfzf-update" +- branch="$1" +- 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 |