@@ -3,28 +3,35 @@
33, buildPythonPackage
44, fetchFromGitHub
55, httpx
6+, pytest-asyncio
7+, pytestCheckHook
68, pythonOlder
9+, pytz
710}:
811
912buildPythonPackage rec {
1013 pname = "pylitterbot";
11− version = "2021.2.5";
14+ version = "2021.3.1";
1215 disabled = pythonOlder "3.6";
1316
1417 src = fetchFromGitHub {
1518 owner = "natekspencer";
1619 repo = pname;
1720 rev = version;
18− sha256 = "0705bxm0rlpgwg8my7z5pp6y362bs2j53zy1yslha0ya6cgx37g8";
21+ sha256 = "sha256-w2iyzCYoma8zQsXGIQnpgijDHNqmlvCnbeyF7PmLz9c=";
1922 };
2023
2124 propagatedBuildInputs = [
2225 authlib
2326 httpx
27+ pytz
28+ ];
29+
30+ checkInputs = [
31+ pytest-asyncio
32+ pytestCheckHook
2433 ];
2534
26− # Project has no tests
27− doCheck = false;
2835 pythonImportsCheck = [ "pylitterbot" ];
2936
3037 meta = with lib; {