summary refs log tree commit diff
path: root/pkgs/tools/networking/ytcc
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2021-01-11 23:14:40 -0800
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-12 10:19:06 -0800
commit8aaba2790df85abff58bc7815076aef84743b349 (patch)
treef782833856835512bb88ee247023d53714cec0bb /pkgs/tools/networking/ytcc
parentaa401c386f080fff795f058dd66ad41615676708 (diff)
downloadnixpkgs-8aaba2790df85abff58bc7815076aef84743b349.tar
nixpkgs-8aaba2790df85abff58bc7815076aef84743b349.tar.gz
nixpkgs-8aaba2790df85abff58bc7815076aef84743b349.tar.bz2
nixpkgs-8aaba2790df85abff58bc7815076aef84743b349.tar.lz
nixpkgs-8aaba2790df85abff58bc7815076aef84743b349.tar.xz
nixpkgs-8aaba2790df85abff58bc7815076aef84743b349.tar.zst
nixpkgs-8aaba2790df85abff58bc7815076aef84743b349.zip
ytcc: 1.8.4 -> 2.0.1
Diffstat (limited to 'pkgs/tools/networking/ytcc')
-rw-r--r--pkgs/tools/networking/ytcc/default.nix22
1 files changed, 11 insertions, 11 deletions
diff --git a/pkgs/tools/networking/ytcc/default.nix b/pkgs/tools/networking/ytcc/default.nix
index 2d474159359..75cf8403d93 100644
--- a/pkgs/tools/networking/ytcc/default.nix
+++ b/pkgs/tools/networking/ytcc/default.nix
@@ -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 ];
   };
 }