nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix

python311Packages.sensirion-ble: init at 0.1.0

+54
+52
pkgs/development/python-modules/sensirion-ble/default.nix
··· 1 + { lib 2 + , buildPythonPackage 3 + , fetchFromGitHub 4 + , hatchling 5 + , bluetooth-data-tools 6 + , bluetooth-sensor-state-data 7 + , home-assistant-bluetooth 8 + , sensor-state-data 9 + , pythonOlder 10 + }: 11 + 12 + buildPythonPackage rec { 13 + pname = "sensirion-ble"; 14 + version = "0.1.0"; 15 + format = "pyproject"; 16 + 17 + disabled = pythonOlder "3.8"; 18 + 19 + src = fetchFromGitHub { 20 + owner = "akx"; 21 + repo = "sensirion-ble"; 22 + rev = "refs/tags/v${version}"; 23 + hash = "sha256-7l76/Bci1ztt2CfwytLOySK6IL8IDijpB0AYhksRP7o="; 24 + }; 25 + 26 + postPatch = '' 27 + substituteInPlace pyproject.toml \ 28 + --replace " --cov=sensirion_ble --cov-report=term-missing:skip-covered" "" 29 + ''; 30 + 31 + nativeBuildInputs = [ 32 + hatchling 33 + ]; 34 + 35 + propagatedBuildInputs = [ 36 + bluetooth-data-tools 37 + bluetooth-sensor-state-data 38 + home-assistant-bluetooth 39 + sensor-state-data 40 + ]; 41 + 42 + pythonImportsCheck = [ 43 + "sensirion_ble" 44 + ]; 45 + 46 + meta = with lib; { 47 + description = "Parser for Sensirion BLE devices"; 48 + homepage = "https://github.com/akx/sensirion-ble"; 49 + license = licenses.mit; 50 + maintainers = with maintainers; [ fab ]; 51 + }; 52 + }
+2
pkgs/top-level/python-packages.nix
··· 11040 11040 11041 11041 sense-energy = callPackage ../development/python-modules/sense-energy { }; 11042 11042 11043 + sensirion-ble = callPackage ../development/python-modules/sensirion-ble { }; 11044 + 11043 11045 sensor-state-data = callPackage ../development/python-modules/sensor-state-data { }; 11044 11046 11045 11047 sensorpro-ble = callPackage ../development/python-modules/sensorpro-ble { };