python3Packages.pylitterbot: init at 2021.2.5

This commit is contained in:
Fabian Affolter 2021-02-25 19:37:07 +01:00 committed by github-actions[bot]
parent 90b45eda99
commit cdefe9afb4
2 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1,36 @@
{ lib
, authlib
, buildPythonPackage
, fetchFromGitHub
, httpx
, pythonOlder
}:
buildPythonPackage rec {
pname = "pylitterbot";
version = "2021.2.5";
disabled = pythonOlder "3.6";
src = fetchFromGitHub {
owner = "natekspencer";
repo = pname;
rev = version;
sha256 = "0705bxm0rlpgwg8my7z5pp6y362bs2j53zy1yslha0ya6cgx37g8";
};
propagatedBuildInputs = [
authlib
httpx
];
# Project has no tests
doCheck = false;
pythonImportsCheck = [ "pylitterbot" ];
meta = with lib; {
description = "Python package for controlling a Litter-Robot";
homepage = "https://github.com/natekspencer/pylitterbot";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -5698,6 +5698,8 @@ in {
pylint-plugin-utils = callPackage ../development/python-modules/pylint-plugin-utils { };
pylitterbot = callPackage ../development/python-modules/pylitterbot { };
py-lru-cache = callPackage ../development/python-modules/py-lru-cache { };
pylru = callPackage ../development/python-modules/pylru { };