depot/third_party/nixpkgs/pkgs/development/python-modules/konnected/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

31 lines
685 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
aiohttp,
}:
buildPythonPackage rec {
pname = "konnected";
version = "1.2.0";
format = "setuptools";
src = fetchPypi {
inherit pname version;
sha256 = "b8b4e15c3228b01c9fad3651e09fea1654357ae8c333096e759a1b7d0eb4e789";
};
propagatedBuildInputs = [ aiohttp ];
# no tests implemented
doCheck = false;
pythonImportsCheck = [ "konnected" ];
meta = with lib; {
description = "Async Python library for interacting with Konnected home automation controllers";
homepage = "https://github.com/konnected-io/konnected-py";
license = licenses.mit;
maintainers = with maintainers; [ dotlambda ];
};
}