python3Packages.pysmartthings: init at 0.7.6

This commit is contained in:
Fabian Affolter 2021-04-24 22:49:10 +02:00 committed by Jonathan Ringer
parent bce7201f72
commit a0755baff3
2 changed files with 40 additions and 0 deletions

View file

@ -0,0 +1,38 @@
{ lib
, aiohttp
, buildPythonPackage
, fetchFromGitHub
, pytest-asyncio
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "pysmartthings";
version = "0.7.6";
src = fetchFromGitHub {
owner = "andrewsayre";
repo = pname;
rev = version;
sha256 = "0m91lfzdbmq6qv6bihd278psi9ghldxpa1d0dsbii2zf338188qj";
};
propagatedBuildInputs = [
aiohttp
];
checkInputs = [
pytest-asyncio
pytestCheckHook
];
pythonImportsCheck = [ "pysmartthings" ];
meta = with lib; {
description = "Python library for interacting with the SmartThings cloud API";
homepage = "https://github.com/andrewsayre/pysmartthings";
changelog = "https://github.com/andrewsayre/pysmartthings/releases/tag/${version}";
license = with licenses; [ mit ];
maintainers = with maintainers; [ fab ];
};
}

View file

@ -6522,6 +6522,8 @@ in {
pysmartapp = callPackage ../development/python-modules/pysmartapp { };
pysmartthings = callPackage ../development/python-modules/pysmartthings { };
pysmb = callPackage ../development/python-modules/pysmb { };
pysmbc = callPackage ../development/python-modules/pysmbc { };