1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5, requests_oauthlib
6, voluptuous
7}:
8
9buildPythonPackage rec {
10 pname = "pybotvac";
11 version = "0.0.22";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "sha256-hl8UmoVUbbHCSpCWdUTxoIlop5di+rUmGUQI9UWq3ik=";
16 };
17
18 propagatedBuildInputs = [
19 requests
20 requests_oauthlib
21 voluptuous
22 ];
23
24 # no tests
25 doCheck = false;
26
27 pythonImportsCheck = [ "pybotvac" ];
28
29 meta = with lib; {
30 description = "Python module for interacting with Neato Botvac Connected vacuum robots";
31 homepage = "https://github.com/stianaske/pybotvac";
32 license = licenses.mit;
33 maintainers = with maintainers; [ elseym ];
34 };
35}