22017988c6
GitOrigin-RevId: c777cdf5c564015d5f63b09cc93bef4178b19b01
41 lines
764 B
Nix
41 lines
764 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, requests
|
|
, requests-oauthlib
|
|
, voluptuous
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pybotvac";
|
|
version = "0.0.23";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-VLT+VlwQAAxU1WRNCB4t4fhQ2u+6w5zqdM6mSbR7+xI=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
requests-oauthlib
|
|
voluptuous
|
|
];
|
|
|
|
# no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pybotvac"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python module for interacting with Neato Botvac Connected vacuum robots";
|
|
homepage = "https://github.com/stianaske/pybotvac";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ elseym ];
|
|
};
|
|
}
|