about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorFrancesco Gazzetta <fgaz@fgaz.me>2023-03-25 16:09:58 +0000
committerGitHub <noreply@github.com>2023-03-25 16:09:58 +0000
commit20e68dd6be47c8e2e8e7319c02eeddbf99b7567b (patch)
treee04d46f69bf97611fd7a3eda4edefe2ce669585e /pkgs/applications
parentdce79b3cb10bc8b1a9625a9c764512b6a27d9ad5 (diff)
parentbfcb48388aae477c065bf0e194fe7513148a5a03 (diff)
Merge pull request #222381 from fgaz/yewtube/2.10.1
yewtube: 2.9.2 -> 2.10.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/yewtube/default.nix11
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/applications/misc/yewtube/default.nix b/pkgs/applications/misc/yewtube/default.nix
index c7dc0b6071b04..13dabe296b3dd 100644
--- a/pkgs/applications/misc/yewtube/default.nix
+++ b/pkgs/applications/misc/yewtube/default.nix
@@ -2,13 +2,13 @@
 
 python3Packages.buildPythonApplication rec {
   pname = "yewtube";
-  version = "2.9.2";
+  version = "2.10.1";
 
   src = fetchFromGitHub {
-    owner = "iamtalhaasghar";
+    owner = "mps-youtube";
     repo = "yewtube";
     rev = "refs/tags/v${version}";
-    hash = "sha256-5+0OaoUan9IFEqtMvpvtkfpd7IbFJhG52oROER5TY20=";
+    hash = "sha256-1qYHgMp9OZQuKDycvVwp0ADvF8xNY668JvRMVIE/dko=";
   };
 
   postPatch = ''
@@ -16,8 +16,6 @@ python3Packages.buildPythonApplication rec {
     substituteInPlace mps_youtube/__init__.py \
       --replace "from pip._vendor import pkg_resources" "" \
       --replace "__version__ =" "__version__ = '${version}' #"
-    # https://github.com/iamtalhaasghar/yewtube/pull/105
-    sed -ie '/pyreadline/d' requirements.txt
   '';
 
   propagatedBuildInputs = with python3Packages; [
@@ -25,6 +23,7 @@ python3Packages.buildPythonApplication rec {
     requests
     youtube-search-python
     yt-dlp
+    pylast
   ];
 
   checkInputs = with python3Packages; [
@@ -41,7 +40,7 @@ python3Packages.buildPythonApplication rec {
 
   meta = with lib; {
     description = "Terminal based YouTube player and downloader, forked from mps-youtube";
-    homepage = "https://github.com/iamtalhaasghar/yewtube";
+    homepage = "https://github.com/mps-youtube/yewtube";
     license = licenses.gpl3Plus;
     maintainers = with maintainers; [ fgaz koral ];
   };