mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 15:56:50 +01:00
ytfzf: 1.1.0 -> 1.1.1
This commit is contained in:
parent
43b02818f6
commit
cbd89b2a5f
2 changed files with 7 additions and 7 deletions
|
@ -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 = [
|
||||
|
|
|
@ -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 () {
|
||||
|
|
Loading…
Reference in a new issue