Merge pull request #114388 from fabaff/pylitterbot

python3Packages.pylitterbot: init at 2021.2.5
This commit is contained in:
Fabian Affolter 2021-03-18 09:28:19 +01:00 committed by GitHub
commit 29db328a08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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

@ -5867,6 +5867,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 { };