depot/third_party/nixpkgs/pkgs/development/python-modules/pybotvac/default.nix
Default email 6d4aeb4377 Project import generated by Copybara.
GitOrigin-RevId: 0f213d0fee84280d8c3a97f7469b988d6fe5fcdf
2023-01-11 08:51:40 +01:00

42 lines
850 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, requests
, requests-oauthlib
, voluptuous
}:
buildPythonPackage rec {
pname = "pybotvac";
version = "0.0.24";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-SXIs9AUXWm1H49MVDT4z6msNPaW5sAU20rcsWZ7ERdU=";
};
propagatedBuildInputs = [
requests
requests-oauthlib
voluptuous
];
# Module 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";
changelog = "https://github.com/stianaske/pybotvac/releases/tag/v${version}";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}