ytcc: 1.8.4 -> 2.0.1

This commit is contained in:
Jonathan Ringer 2021-01-11 23:14:40 -08:00 committed by Jonathan Ringer
parent aa401c386f
commit 8aaba2790d

View file

@ -2,7 +2,7 @@
python3Packages.buildPythonApplication rec {
pname = "ytcc";
version = "1.8.4";
version = "2.0.1";
src = fetchFromGitHub {
owner = "woefe";
@ -13,23 +13,23 @@ python3Packages.buildPythonApplication rec {
nativeBuildInputs = [ gettext ];
propagatedBuildInputs = with python3Packages; [ feedparser lxml sqlalchemy youtube-dl ];
propagatedBuildInputs = with python3Packages; [ click feedparser lxml sqlalchemy youtube-dl ];
checkInputs = with python3Packages; [ nose pytest ];
checkInputs = with python3Packages; [ nose pytestCheckHook ];
# Disable tests that touch network or shell out to commands
checkPhase = ''
pytest . -k "not get_channels \
and not play_video \
and not download_videos \
and not update_all \
and not add_channel_duplicate"
'';
disabledTests = [
"get_channels"
"play_video"
"download_videos"
"update_all"
"add_channel_duplicate"
];
meta = {
description = "Command Line tool to keep track of your favourite YouTube channels without signing up for a Google account";
homepage = "https://github.com/woefe/ytcc";
license = lib.licenses.gpl3;
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ marius851000 ];
};
}