Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / pylitterbot / default.nix
blob7aa5bebfaa0aa342fa2e52f0cad10caeb9805613
1 { lib
2 , authlib
3 , buildPythonPackage
4 , fetchFromGitHub
5 , httpx
6 , pytest-asyncio
7 , pytestCheckHook
8 , pythonOlder
9 , pytz
12 buildPythonPackage rec {
13   pname = "pylitterbot";
14   version = "2021.3.1";
15   disabled = pythonOlder "3.6";
17   src = fetchFromGitHub {
18     owner = "natekspencer";
19     repo = pname;
20     rev = version;
21     sha256 = "sha256-w2iyzCYoma8zQsXGIQnpgijDHNqmlvCnbeyF7PmLz9c=";
22   };
24   propagatedBuildInputs = [
25     authlib
26     httpx
27     pytz
28   ];
30   checkInputs = [
31     pytest-asyncio
32     pytestCheckHook
33   ];
35   pythonImportsCheck = [ "pylitterbot" ];
37   meta = with lib; {
38     description = "Python package for controlling a Litter-Robot";
39     homepage = "https://github.com/natekspencer/pylitterbot";
40     license = with licenses; [ mit ];
41     maintainers = with maintainers; [ fab ];
42   };