12 buildPythonPackage rec {
13 pname = "bluetooth-data-tools";
17 disabled = pythonOlder "3.9";
19 src = fetchFromGitHub {
20 owner = "Bluetooth-Devices";
22 rev = "refs/tags/v${version}";
23 hash = "sha256-G345Nz0iVUQWOCEnf5UqUa49kAXCmNY22y4v+J2/G2Q=";
26 # The project can build both an optimized cython version and an unoptimized
27 # python version. This ensures we fail if we build the wrong one.
28 env.REQUIRE_CYTHON = 1;
36 propagatedBuildInputs = [
45 substituteInPlace pyproject.toml \
46 --replace " --cov=bluetooth_data_tools --cov-report=term-missing:skip-covered" ""
49 pythonImportsCheck = [
50 "bluetooth_data_tools"
54 description = "Library for converting bluetooth data and packets";
55 homepage = "https://github.com/Bluetooth-Devices/bluetooth-data-tools";
56 changelog = "https://github.com/Bluetooth-Devices/bluetooth-data-tools/blob/v${version}/CHANGELOG.md";
57 license = licenses.asl20;
58 maintainers = with maintainers; [ fab ];