python3Packages.pylitterbot: init at 2021.2.5
This commit is contained in:
parent
90b45eda99
commit
cdefe9afb4
36
pkgs/development/python-modules/pylitterbot/default.nix
Normal file
36
pkgs/development/python-modules/pylitterbot/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user