diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-02-25 19:37:07 +0100 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-03-05 14:37:01 +0000 |
commit | cdefe9afb4526bb838165017e48e42566d63f2a5 (patch) | |
tree | 97bcf6323018a53aa6999f41a2e47aadd819bbd9 /pkgs/development/python-modules/pylitterbot | |
parent | 90b45eda99d2eec9df7dcc7132eec8ee8a48c75a (diff) |
python3Packages.pylitterbot: init at 2021.2.5
Diffstat (limited to 'pkgs/development/python-modules/pylitterbot')
-rw-r--r-- | pkgs/development/python-modules/pylitterbot/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/pylitterbot/default.nix b/pkgs/development/python-modules/pylitterbot/default.nix new file mode 100644 index 0000000000000..f15cbc80a6dff --- /dev/null +++ b/pkgs/development/python-modules/pylitterbot/default.nix @@ -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 ]; + }; +} |