python3Packages.devolo-home-control-api: init at 0.16.0
This commit is contained in:
parent
94f850c3d1
commit
98dcad33fa
|
@ -0,0 +1,49 @@
|
||||||
|
{ lib
|
||||||
|
, aiohttp
|
||||||
|
, buildPythonPackage
|
||||||
|
, fetchFromGitHub
|
||||||
|
, pytestCheckHook
|
||||||
|
, pytest-cov
|
||||||
|
, pytest-mock
|
||||||
|
, requests
|
||||||
|
, zeroconf
|
||||||
|
, websocket_client
|
||||||
|
, pytest-runner
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
pname = "devolo-home-control-api";
|
||||||
|
version = "0.16.0";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "2Fake";
|
||||||
|
repo = "devolo_home_control_api";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "19zzdbx0dxlm8pq0yk00nn9gqqblgpp16fgl7z6a98hsa6459zzb";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pytest-runner ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
requests
|
||||||
|
zeroconf
|
||||||
|
websocket_client
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-cov
|
||||||
|
pytest-mock
|
||||||
|
];
|
||||||
|
|
||||||
|
# Disable test that requires network access
|
||||||
|
disabledTests = [ "test__on_pong" ];
|
||||||
|
pythonImportsCheck = [ "devolo_home_control_api" ];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Python library to work with devolo Home Control";
|
||||||
|
homepage = "https://github.com/2Fake/devolo_home_control_api";
|
||||||
|
license = with licenses; [ gpl3Only ];
|
||||||
|
maintainers = with maintainers; [ fab ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -1671,6 +1671,8 @@ in {
|
||||||
|
|
||||||
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
|
detox = throw "detox is no longer maintained, and was broken since may 2019"; # added 2020-07-04
|
||||||
|
|
||||||
|
devolo-home-control-api = callPackage ../development/python-modules/devolo-home-control-api { };
|
||||||
|
|
||||||
devpi-common = callPackage ../development/python-modules/devpi-common { };
|
devpi-common = callPackage ../development/python-modules/devpi-common { };
|
||||||
|
|
||||||
dftfit = callPackage ../development/python-modules/dftfit { };
|
dftfit = callPackage ../development/python-modules/dftfit { };
|
||||||
|
|
Loading…
Reference in a new issue