python3Packages.pysmartthings: init at 0.7.6
This commit is contained in:
parent
bce7201f72
commit
a0755baff3
38
pkgs/development/python-modules/pysmartthings/default.nix
Normal file
38
pkgs/development/python-modules/pysmartthings/default.nix
Normal 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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -6522,6 +6522,8 @@ in {
|
||||||
|
|
||||||
pysmartapp = callPackage ../development/python-modules/pysmartapp { };
|
pysmartapp = callPackage ../development/python-modules/pysmartapp { };
|
||||||
|
|
||||||
|
pysmartthings = callPackage ../development/python-modules/pysmartthings { };
|
||||||
|
|
||||||
pysmb = callPackage ../development/python-modules/pysmb { };
|
pysmb = callPackage ../development/python-modules/pysmb { };
|
||||||
|
|
||||||
pysmbc = callPackage ../development/python-modules/pysmbc { };
|
pysmbc = callPackage ../development/python-modules/pysmbc { };
|
||||||
|
|
Loading…
Reference in a new issue