1{ lib
2, buildPythonPackage
3, fetchPypi
4, requests
5, requests-oauthlib
6, voluptuous
7, pythonOlder
8}:
9
10buildPythonPackage rec {
11 pname = "pybotvac";
12 version = "0.0.23";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-VLT+VlwQAAxU1WRNCB4t4fhQ2u+6w5zqdM6mSbR7+xI=";
20 };
21
22 propagatedBuildInputs = [
23 requests
24 requests-oauthlib
25 voluptuous
26 ];
27
28 # no tests
29 doCheck = false;
30
31 pythonImportsCheck = [
32 "pybotvac"
33 ];
34
35 meta = with lib; {
36 description = "Python module for interacting with Neato Botvac Connected vacuum robots";
37 homepage = "https://github.com/stianaske/pybotvac";
38 license = licenses.mit;
39 maintainers = with maintainers; [ ];
40 };
41}