summary refs log tree commit diff
path: root/pkgs/development/python-modules/tvdb_api/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/tvdb_api/default.nix')
-rw-r--r--pkgs/development/python-modules/tvdb_api/default.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/python-modules/tvdb_api/default.nix b/pkgs/development/python-modules/tvdb_api/default.nix
index 245556d91f6..6c298dce7c7 100644
--- a/pkgs/development/python-modules/tvdb_api/default.nix
+++ b/pkgs/development/python-modules/tvdb_api/default.nix
@@ -2,6 +2,7 @@
 , buildPythonPackage
 , fetchPypi
 , requests-cache
+, pytest
 }:
 
 buildPythonPackage rec {
@@ -15,8 +16,13 @@ buildPythonPackage rec {
 
   propagatedBuildInputs = [ requests-cache ];
 
+  checkInputs = [ pytest ];
+
+  # requires network access
+  doCheck = false;
+
   meta = with stdenv.lib; {
-    description = "Simple to use TVDB (thetvdb.com) API in Python.";
+    description = "Simple to use TVDB (thetvdb.com) API in Python";
     homepage = "https://github.com/dbr/tvdb_api";
     license = licenses.unlicense;
     maintainers = with maintainers; [ peterhoeg ];