mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
python312Packages.py-improv-ble-client: init at 1.0.4
Module to provision devices which implement Improv via BLE https://github.com/home-assistant-libs/py-improv-ble-client
This commit is contained in:
parent
8a2cc6b286
commit
55dc89b4e7
@ -0,0 +1,50 @@
|
||||
{
|
||||
lib,
|
||||
bleak-retry-connector,
|
||||
bleak,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "py-improv-ble-client";
|
||||
version = "1.0.4";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.11";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "home-assistant-libs";
|
||||
repo = "py-improv-ble-client";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-leYSDB5/jFqlvX78OYzlFkkVxIkJ7iOUoLHBuVj7tAo=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "setuptools~=65.6" "setuptools" \
|
||||
--replace-fail "wheel~=0.37.1" "wheel"
|
||||
'';
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
bleak
|
||||
bleak-retry-connector
|
||||
];
|
||||
|
||||
# Module has no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "improv_ble_client" ];
|
||||
|
||||
meta = {
|
||||
description = "Module to provision devices which implement Improv via BLE";
|
||||
homepage = "https://github.com/home-assistant-libs/py-improv-ble-client";
|
||||
changelog = "https://github.com/home-assistant-libs/py-improv-ble-client/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
}
|
@ -9197,6 +9197,8 @@ self: super: with self; {
|
||||
|
||||
py-expression-eval = callPackage ../development/python-modules/py-expression-eval { };
|
||||
|
||||
py-improv-ble-client = callPackage ../development/python-modules/py-improv-ble-client { };
|
||||
|
||||
py-machineid = callPackage ../development/python-modules/py-machineid { };
|
||||
|
||||
py-ocsf-models = callPackage ../development/python-modules/py-ocsf-models { };
|
||||
|
Loading…
Reference in New Issue
Block a user