diff options
author | Robert Schütz <dev@schuetz-co.de> | 2021-05-24 12:21:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-24 12:21:28 +0200 |
commit | 6e72346fc32d4aaf1eb98a014efb1e1f273fe4e4 (patch) | |
tree | c9ffbc0b57c1e2e8bd27fb4f2abe3d51620f54cc /pkgs/tools/misc/ytfzf | |
parent | a57e8bef58b1a1b5494162bb189600f8ebae5449 (diff) |
ytfzf: 1.1.5 -> 1.1.6 (#124119)
https://github.com/pystardust/ytfzf/releases/tag/v1.1.6
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 8c93d02c35939..302839a303873 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.5"; + version = "1.1.6"; src = fetchFromGitHub { owner = "pystardust"; repo = "ytfzf"; rev = "v${version}"; - sha256 = "sha256-NkJjh/Ys0Ypm8NTy/ZrQ4hIAjP5VGrpU73wjAMsZnAc="; + sha256 = "sha256-HXn/8Lrt6tNZWW1AeKMArOiW9t1v7MzlynSLryNdI5Y="; }; patches = [ diff --git a/pkgs/tools/misc/ytfzf/no-update.patch b/pkgs/tools/misc/ytfzf/no-update.patch index db7d4b40fccbd..e023914083d81 100644 --- a/pkgs/tools/misc/ytfzf/no-update.patch +++ b/pkgs/tools/misc/ytfzf/no-update.patch @@ -1,8 +1,8 @@ diff --git a/ytfzf b/ytfzf -index 42f41c0..f75f5cb 100755 +index d5ff8c9..96f9c8f 100755 --- a/ytfzf +++ b/ytfzf -@@ -892,23 +892,8 @@ send_notify () { +@@ -934,23 +934,8 @@ send_notify () { } update_ytfzf () { @@ -10,7 +10,7 @@ index 42f41c0..f75f5cb 100755 - 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 +- if sed -n '1p' < "$updatefile" | grep -q '#!/bin/sh'; then - chmod 755 "$updatefile" - if [ "$(uname)" = "Darwin" ]; then - sudo cp "$updatefile" "/usr/local/bin/ytfzf" @@ -27,4 +27,4 @@ index 42f41c0..f75f5cb 100755 + exit 1 } - scrape_subscriptions () { + sort_video_data_date () { |