ytfzf: 1.1.0 -> 1.1.1
This commit is contained in:
parent
43b02818f6
commit
cbd89b2a5f
@ -16,13 +16,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "ytfzf";
|
pname = "ytfzf";
|
||||||
version = "1.1.0";
|
version = "1.1.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "pystardust";
|
owner = "pystardust";
|
||||||
repo = "ytfzf";
|
repo = "ytfzf";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-ATQRXYaIp1MKCO/EAPsopzFEZeNJzdk73/OcgjsMdkg=";
|
sha256 = "sha256-286rN3g6leSnbZZ0VjWl43nhBAMPJDUMv7DhgVTsjKw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
diff --git a/ytfzf b/ytfzf
|
diff --git a/ytfzf b/ytfzf
|
||||||
index 5238682..c5c3a1a 100755
|
index f7871c7..179c836 100755
|
||||||
--- a/ytfzf
|
--- a/ytfzf
|
||||||
+++ b/ytfzf
|
+++ b/ytfzf
|
||||||
@@ -757,23 +757,8 @@ clear_history () {
|
@@ -829,23 +829,8 @@ send_notify () {
|
||||||
}
|
}
|
||||||
|
|
||||||
update_ytfzf () {
|
update_ytfzf () {
|
||||||
- branch="$1"
|
- local branch="$1"
|
||||||
- updatefile="/tmp/ytfzf-update"
|
- local updatefile="/tmp/ytfzf-update"
|
||||||
- curl -L "https://raw.githubusercontent.com/pystardust/ytfzf/$branch/ytfzf" -o "$updatefile"
|
- 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
|
||||||
@ -27,4 +27,4 @@ index 5238682..c5c3a1a 100755
|
|||||||
+ exit 1
|
+ exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
scrape_subscriptions () {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user