lol

python310Packages.oralb-ble: init at 0.10.1

authored by

Fabian Affolter and committed by
Martin Weinelt
0917dd48 c2687f97

+57
+55
pkgs/development/python-modules/oralb-ble/default.nix
··· 1 + { lib 2 + , bluetooth-data-tools 3 + , bluetooth-sensor-state-data 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , home-assistant-bluetooth 7 + , poetry-core 8 + , pytestCheckHook 9 + , pythonOlder 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "oralb-ble"; 14 + version = "0.10.1"; 15 + format = "pyproject"; 16 + 17 + disabled = pythonOlder "3.9"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "Bluetooth-Devices"; 21 + repo = pname; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-Iuu44H8fCbJysoSJLBtlJ1XE5Ad2caWihj3UZytWK3o="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + poetry-core 28 + ]; 29 + 30 + propagatedBuildInputs = [ 31 + bluetooth-data-tools 32 + bluetooth-sensor-state-data 33 + home-assistant-bluetooth 34 + ]; 35 + 36 + checkInputs = [ 37 + pytestCheckHook 38 + ]; 39 + 40 + postPatch = '' 41 + substituteInPlace pyproject.toml \ 42 + --replace " --cov=oralb_ble --cov-report=term-missing:skip-covered" "" 43 + ''; 44 + 45 + pythonImportsCheck = [ 46 + "oralb_ble" 47 + ]; 48 + 49 + meta = with lib; { 50 + description = "Library for Oral B BLE devices"; 51 + homepage = "https://github.com/Bluetooth-Devices/oralb-ble"; 52 + license = with licenses; [ mit ]; 53 + maintainers = with maintainers; [ fab ]; 54 + }; 55 + }
+2
pkgs/top-level/python-packages.nix
··· 6486 6486 6487 6487 opuslib = callPackage ../development/python-modules/opuslib { }; 6488 6488 6489 + oralb-ble = callPackage ../development/python-modules/oralb-ble { }; 6490 + 6489 6491 orderedmultidict = callPackage ../development/python-modules/orderedmultidict { }; 6490 6492 6491 6493 ordered-set = callPackage ../development/python-modules/ordered-set { };