1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 pythonOlder,
6 requests,
7 requests-oauthlib,
8 voluptuous,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "pybotvac";
14 version = "0.0.28";
15 pyproject = true;
16
17 disabled = pythonOlder "3.7";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-XIGG8HmjI3dSq42co2e05xHIYjIM39qVanMJLDqWFCg=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 requests
28 requests-oauthlib
29 voluptuous
30 ];
31
32 # Module no tests
33 doCheck = false;
34
35 pythonImportsCheck = [ "pybotvac" ];
36
37 meta = with lib; {
38 description = "Python module for interacting with Neato Botvac Connected vacuum robots";
39 homepage = "https://github.com/stianaske/pybotvac";
40 changelog = "https://github.com/stianaske/pybotvac/releases/tag/v${version}";
41 license = licenses.mit;
42 maintainers = with maintainers; [ fab ];
43 };
44}