about summary refs log tree commit diff
path: root/pkgs/development/python-modules/pylitterbot
diff options
context:
space:
mode:
authorFabian Affolter <mail@fabian-affolter.ch>2021-04-01 01:32:46 +0200
committerFabian Affolter <mail@fabian-affolter.ch>2021-04-01 01:32:46 +0200
commitf32ec5a933183cbffed143879f66b6117662e637 (patch)
tree4d9f382ec2d38a5da105cd3f82a95097d29fcd3a /pkgs/development/python-modules/pylitterbot
parent5481589204cc2fb732d2c758879032118a371981 (diff)
python3Packages.pylitterbot: 2021.2.5 -> 2021.3.1
Diffstat (limited to 'pkgs/development/python-modules/pylitterbot')
-rw-r--r--pkgs/development/python-modules/pylitterbot/default.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/pkgs/development/python-modules/pylitterbot/default.nix b/pkgs/development/python-modules/pylitterbot/default.nix
index f15cbc80a6dff..7aa5bebfaa0aa 100644
--- a/pkgs/development/python-modules/pylitterbot/default.nix
+++ b/pkgs/development/python-modules/pylitterbot/default.nix
@@ -3,28 +3,35 @@
 , buildPythonPackage
 , fetchFromGitHub
 , httpx
+, pytest-asyncio
+, pytestCheckHook
 , pythonOlder
+, pytz
 }:
 
 buildPythonPackage rec {
   pname = "pylitterbot";
-  version = "2021.2.5";
+  version = "2021.3.1";
   disabled = pythonOlder "3.6";
 
   src = fetchFromGitHub {
     owner = "natekspencer";
     repo = pname;
     rev = version;
-    sha256 = "0705bxm0rlpgwg8my7z5pp6y362bs2j53zy1yslha0ya6cgx37g8";
+    sha256 = "sha256-w2iyzCYoma8zQsXGIQnpgijDHNqmlvCnbeyF7PmLz9c=";
   };
 
   propagatedBuildInputs = [
     authlib
     httpx
+    pytz
+  ];
+
+  checkInputs = [
+    pytest-asyncio
+    pytestCheckHook
   ];
 
-  # Project has no tests
-  doCheck = false;
   pythonImportsCheck = [ "pylitterbot" ];
 
   meta = with lib; {