python3Packages.pylitterbot: 2021.2.5 -> 2021.3.1

This commit is contained in:
Fabian Affolter 2021-04-01 01:32:46 +02:00
parent 5481589204
commit f32ec5a933
1 changed files with 11 additions and 4 deletions

View File

@ -3,28 +3,35 @@
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, httpx , httpx
, pytest-asyncio
, pytestCheckHook
, pythonOlder , pythonOlder
, pytz
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "pylitterbot"; pname = "pylitterbot";
version = "2021.2.5"; version = "2021.3.1";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "natekspencer"; owner = "natekspencer";
repo = pname; repo = pname;
rev = version; rev = version;
sha256 = "0705bxm0rlpgwg8my7z5pp6y362bs2j53zy1yslha0ya6cgx37g8"; sha256 = "sha256-w2iyzCYoma8zQsXGIQnpgijDHNqmlvCnbeyF7PmLz9c=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
authlib authlib
httpx httpx
pytz
];
checkInputs = [
pytest-asyncio
pytestCheckHook
]; ];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pylitterbot" ]; pythonImportsCheck = [ "pylitterbot" ];
meta = with lib; { meta = with lib; {