2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchFromGitHub,
|
2021-01-15 22:18:51 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "orvibo";
|
2024-01-13 08:15:51 +00:00
|
|
|
version = "1.1.2";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2021-01-15 22:18:51 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "happyleavesaoc";
|
|
|
|
repo = "python-orvibo";
|
|
|
|
rev = version;
|
2024-01-13 08:15:51 +00:00
|
|
|
sha256 = "sha256-Azmho47CEbRo18emmLKhYa/sViQX0oxUTUk4zdrpOaE=";
|
2021-01-15 22:18:51 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
# 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 ];
|
|
|
|
};
|
|
|
|
}
|