Files
nixpkgs/pkgs/development/python-modules/konnected/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

32 lines
683 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 = {
description = "Async Python library for interacting with Konnected home automation controllers";
homepage = "https://github.com/konnected-io/konnected-py";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}