lol

Merge pull request #216081 from fabaff/rapt-ble

python310Packages.rapt-ble: init at 0.1.0

authored by

Fabian Affolter and committed by
GitHub
be0b3484 a2af3717

+59
+57
pkgs/development/python-modules/rapt-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 + , sensor-state-data 11 + }: 12 + 13 + buildPythonPackage rec { 14 + pname = "rapt-ble"; 15 + version = "0.1.0"; 16 + format = "pyproject"; 17 + 18 + disabled = pythonOlder "3.9"; 19 + 20 + src = fetchFromGitHub { 21 + owner = "sairon"; 22 + repo = pname; 23 + rev = "refs/tags/v${version}"; 24 + hash = "sha256-upTtVqxVHrqLSGTSGCiCVlDa2NEuuqe+0W2DM+UhTnc="; 25 + }; 26 + 27 + nativeBuildInputs = [ 28 + poetry-core 29 + ]; 30 + 31 + propagatedBuildInputs = [ 32 + bluetooth-data-tools 33 + bluetooth-sensor-state-data 34 + home-assistant-bluetooth 35 + sensor-state-data 36 + ]; 37 + 38 + nativeCheckInputs = [ 39 + pytestCheckHook 40 + ]; 41 + 42 + postPatch = '' 43 + substituteInPlace pyproject.toml \ 44 + --replace " --cov=rapt_ble --cov-report=term-missing:skip-covered" "" 45 + ''; 46 + 47 + pythonImportsCheck = [ 48 + "rapt_ble" 49 + ]; 50 + 51 + meta = with lib; { 52 + description = "Library for RAPT Pill hydrometer BLE devices"; 53 + homepage = "https://github.com/sairon/rapt-ble"; 54 + license = with licenses; [ mit ]; 55 + maintainers = with maintainers; [ fab ]; 56 + }; 57 + }
+2
pkgs/top-level/python-packages.nix
··· 9859 9859 9860 9860 rapidfuzz-capi = callPackage ../development/python-modules/rapidfuzz-capi { }; 9861 9861 9862 + rapt-ble = callPackage ../development/python-modules/rapt-ble { }; 9863 + 9862 9864 rarfile = callPackage ../development/python-modules/rarfile { 9863 9865 inherit (pkgs) libarchive; 9864 9866 };