2021-01-14 20:40:47 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, click
|
|
|
|
, fetchFromGitHub
|
|
|
|
, mock
|
|
|
|
, pytest-runner
|
|
|
|
, pytestCheckHook
|
|
|
|
, requests
|
2021-06-15 13:12:45 +02:00
|
|
|
, websocket-client
|
2021-01-14 20:40:47 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "orvibo";
|
|
|
|
version = "1.1.1";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "happyleavesaoc";
|
|
|
|
repo = "python-orvibo";
|
|
|
|
rev = version;
|
|
|
|
sha256 = "042prd5yxqvlfija7ii1xn424iv1p7ndhxv6m67ij8cbvspwx356";
|
|
|
|
};
|
|
|
|
|
|
|
|
# Project as no tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "orvibo" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Python client to work with Orvibo devices";
|
|
|
|
homepage = "https://github.com/happyleavesaoc/python-orvibo";
|
|
|
|
license = with licenses; [ mit ];
|
|
|
|
maintainers = with maintainers; [ fab ];
|
|
|
|
};
|
|
|
|
}
|