depot/third_party/nixpkgs/pkgs/development/python-modules/pybotvac/default.nix
Default email e18f6fb5f9 Project import generated by Copybara.
GitOrigin-RevId: 9df2cb074d72ea80ac9fd225b29060c8cf13dd39
2021-08-11 16:56:57 +02:00

35 lines
688 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, requests
, requests_oauthlib
, voluptuous
}:
buildPythonPackage rec {
pname = "pybotvac";
version = "0.0.22";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-hl8UmoVUbbHCSpCWdUTxoIlop5di+rUmGUQI9UWq3ik=";
};
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 ];
};
}