Loading pkgs/development/python-modules/xiaomi-ble/default.nix 0 → 100644 +59 −0 Original line number Diff line number Diff line { lib , bleak-retry-connector , bluetooth-sensor-state-data , buildPythonPackage , fetchFromGitHub , home-assistant-bluetooth , poetry-core , pycryptodomex , pytestCheckHook , pythonOlder , sensor-state-data }: buildPythonPackage rec { pname = "xiaomi-ble"; version = "0.8.0"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = pname; rev = "v${version}"; hash = "sha256-HwA2NKsrqXBsC5/rUZUNfHDk8QA7I+zQmwqt0SVhw38="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ bleak-retry-connector bluetooth-sensor-state-data home-assistant-bluetooth pycryptodomex sensor-state-data ]; checkInputs = [ pytestCheckHook ]; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" "" ''; pythonImportsCheck = [ "xiaomi_ble" ]; meta = with lib; { description = "Library for Xiaomi BLE devices"; homepage = "https://github.com/Bluetooth-Devices/xiaomi-ble"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; } pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11555,6 +11555,8 @@ in { xhtml2pdf = callPackage ../development/python-modules/xhtml2pdf { }; xiaomi-ble = callPackage ../development/python-modules/xiaomi-ble { }; xkbcommon = callPackage ../development/python-modules/xkbcommon { }; xkcdpass = callPackage ../development/python-modules/xkcdpass { }; Loading Loading
pkgs/development/python-modules/xiaomi-ble/default.nix 0 → 100644 +59 −0 Original line number Diff line number Diff line { lib , bleak-retry-connector , bluetooth-sensor-state-data , buildPythonPackage , fetchFromGitHub , home-assistant-bluetooth , poetry-core , pycryptodomex , pytestCheckHook , pythonOlder , sensor-state-data }: buildPythonPackage rec { pname = "xiaomi-ble"; version = "0.8.0"; format = "pyproject"; disabled = pythonOlder "3.9"; src = fetchFromGitHub { owner = "Bluetooth-Devices"; repo = pname; rev = "v${version}"; hash = "sha256-HwA2NKsrqXBsC5/rUZUNfHDk8QA7I+zQmwqt0SVhw38="; }; nativeBuildInputs = [ poetry-core ]; propagatedBuildInputs = [ bleak-retry-connector bluetooth-sensor-state-data home-assistant-bluetooth pycryptodomex sensor-state-data ]; checkInputs = [ pytestCheckHook ]; postPatch = '' substituteInPlace pyproject.toml \ --replace " --cov=xiaomi_ble --cov-report=term-missing:skip-covered" "" ''; pythonImportsCheck = [ "xiaomi_ble" ]; meta = with lib; { description = "Library for Xiaomi BLE devices"; homepage = "https://github.com/Bluetooth-Devices/xiaomi-ble"; license = with licenses; [ mit ]; maintainers = with maintainers; [ fab ]; }; }
pkgs/top-level/python-packages.nix +2 −0 Original line number Diff line number Diff line Loading @@ -11555,6 +11555,8 @@ in { xhtml2pdf = callPackage ../development/python-modules/xhtml2pdf { }; xiaomi-ble = callPackage ../development/python-modules/xiaomi-ble { }; xkbcommon = callPackage ../development/python-modules/xkbcommon { }; xkcdpass = callPackage ../development/python-modules/xkcdpass { }; Loading