2021-01-24 01:37:01 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, requests
|
|
|
|
, requests_oauthlib
|
|
|
|
, voluptuous
|
|
|
|
}:
|
2019-01-01 21:57:18 +00:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "pybotvac";
|
2021-08-11 06:54:41 +01:00
|
|
|
version = "0.0.22";
|
2019-01-01 21:57:18 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-08-11 06:54:41 +01:00
|
|
|
sha256 = "sha256-hl8UmoVUbbHCSpCWdUTxoIlop5di+rUmGUQI9UWq3ik=";
|
2019-01-01 21:57:18 +00:00
|
|
|
};
|
|
|
|
|
2021-01-24 01:37:01 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
requests
|
|
|
|
requests_oauthlib
|
|
|
|
voluptuous
|
|
|
|
];
|
|
|
|
|
|
|
|
# no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "pybotvac" ];
|
2019-01-01 21:57:18 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2021-01-24 01:37:01 +00:00
|
|
|
description = "Python module for interacting with Neato Botvac Connected vacuum robots";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/stianaske/pybotvac";
|
2019-01-01 21:57:18 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ elseym ];
|
|
|
|
};
|
|
|
|
}
|