depot/third_party/nixpkgs/pkgs/development/python-modules/pybotvac/default.nix
Default email ca5ab3a501 Project import generated by Copybara.
GitOrigin-RevId: 4a01ca36d6bfc133bc617e661916a81327c9bbc8
2022-07-14 08:49:19 -04:00

41 lines
757 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; [ ];
};
}