python3Packages.orvibo: init at 1.1.1

This commit is contained in:
Fabian Affolter 2021-01-14 20:40:47 +01:00 committed by Jonathan Ringer
parent d6bc890fb4
commit 6e65bf6da6
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,33 @@
{ lib
, buildPythonPackage
, click
, fetchFromGitHub
, mock
, pytest-runner
, pytestCheckHook
, requests
, websocket_client
}:
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 ];
};
}

View file

@ -4507,6 +4507,8 @@ in {
ortools = (toPythonModule (pkgs.or-tools.override { inherit (self) python; })).python;
orvibo = callPackage ../development/python-modules/orvibo { };
osc = callPackage ../development/python-modules/osc { };
oscrypto = callPackage ../development/python-modules/oscrypto { };