lol

Merge pull request #189970 from fabaff/bluemeastro-ble

python310Packages.bluemaestro-ble: init at 0.2.0

authored by

Jonas Heinrich and committed by
GitHub
28fbee01 8bab1dbf

+57
+55
pkgs/development/python-modules/bluemaestro-ble/default.nix
··· 1 + { lib 2 + , bluetooth-data-tools 3 + , bluetooth-sensor-state-data 4 + , buildPythonPackage 5 + , fetchFromGitHub 6 + , poetry-core 7 + , pytestCheckHook 8 + , pythonOlder 9 + , sensor-state-data 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "bluemaestro-ble"; 14 + version = "0.2.0"; 15 + format = "pyproject"; 16 + 17 + disabled = pythonOlder "3.9"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "Bluetooth-Devices"; 21 + repo = pname; 22 + rev = "v${version}"; 23 + hash = "sha256-lJYbbF6b1CazD/aVTNoZvyfH/XQf5jWBsddDdrP+FKA="; 24 + }; 25 + 26 + nativeBuildInputs = [ 27 + poetry-core 28 + ]; 29 + 30 + propagatedBuildInputs = [ 31 + bluetooth-data-tools 32 + bluetooth-sensor-state-data 33 + sensor-state-data 34 + ]; 35 + 36 + checkInputs = [ 37 + pytestCheckHook 38 + ]; 39 + 40 + postPatch = '' 41 + substituteInPlace pyproject.toml \ 42 + --replace " --cov=bluemaestro_ble --cov-report=term-missing:skip-covered" "" 43 + ''; 44 + 45 + pythonImportsCheck = [ 46 + "bluemaestro_ble" 47 + ]; 48 + 49 + meta = with lib; { 50 + description = "Library for bluemaestro BLE devices"; 51 + homepage = "https://github.com/Bluetooth-Devices/bluemaestro-ble"; 52 + license = with licenses; [ mit ]; 53 + maintainers = with maintainers; [ fab ]; 54 + }; 55 + }
+2
pkgs/top-level/python-packages.nix
··· 1404 1404 1405 1405 blspy = callPackage ../development/python-modules/blspy { }; 1406 1406 1407 + bluemaestro-ble = callPackage ../development/python-modules/bluemaestro-ble { }; 1408 + 1407 1409 bluepy = callPackage ../development/python-modules/bluepy { }; 1408 1410 1409 1411 bluepy-devices = callPackage ../development/python-modules/bluepy-devices { };