python312Packages.pyblu: init at 0.4.0

This commit is contained in:
Robert Schütz 2024-08-08 15:02:39 -07:00 committed by Martin Weinelt
parent d9910c17aa
commit 285168dc73
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{
aiohttp,
buildPythonPackage,
fetchPypi,
lib,
poetry-core,
xmltodict,
}:
buildPythonPackage rec {
pname = "pyblu";
version = "0.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-qMbwrRD7ZUsHHOLF9yPvAxiTmJ8vJX1cyHX+4ONtsQ8=";
};
build-system = [ poetry-core ];
dependencies = [
aiohttp
xmltodict
];
pythonImportsCheck = [ "pyblu" ];
# no tests on PyPI, no tags on GitHub
# https://github.com/LouisChrist/pyblu/issues/19
doCheck = false;
meta = {
description = "BluOS API client";
homepage = "https://github.com/LouisChrist/pyblu";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ dotlambda ];
};
}

View File

@ -11064,6 +11064,8 @@ self: super: with self; {
pybloom-live = callPackage ../development/python-modules/pybloom-live { }; pybloom-live = callPackage ../development/python-modules/pybloom-live { };
pyblu = callPackage ../development/python-modules/pyblu { };
pybluez = callPackage ../development/python-modules/pybluez { pybluez = callPackage ../development/python-modules/pybluez {
inherit (pkgs) bluez; inherit (pkgs) bluez;
}; };