mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
ytfzf: 1.1.1 -> 1.1.2 (#118393)
Co-authored-by: Robert Schütz <rschuetz17@gmail.com>
This commit is contained in:
parent
f50f8e302c
commit
dcbcfae56e
@ -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 = [
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user