mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-07 04:57:26 +03:00
Merge pull request #222381 from fgaz/yewtube/2.10.1
yewtube: 2.9.2 -> 2.10.1
This commit is contained in:
commit
20e68dd6be
@ -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 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user