15 buildPythonPackage rec {
16 pname = "bluetooth-data-tools";
20 disabled = pythonOlder "3.10";
22 src = fetchFromGitHub {
23 owner = "Bluetooth-Devices";
24 repo = "bluetooth-data-tools";
25 rev = "refs/tags/v${version}";
26 hash = "sha256-qg2QZc95DD2uTO0fTwoNaPfL+QSrcqDwJvx41lIZDRs=";
29 # The project can build both an optimized cython version and an unoptimized
30 # python version. This ensures we fail if we build the wrong one.
31 env.REQUIRE_CYTHON = 1;
39 dependencies = [ cryptography ];
47 pytestFlagsArray = [ "--benchmark-disable" ];
49 pythonImportsCheck = [ "bluetooth_data_tools" ];
52 description = "Library for converting bluetooth data and packets";
53 homepage = "https://github.com/Bluetooth-Devices/bluetooth-data-tools";
54 changelog = "https://github.com/Bluetooth-Devices/bluetooth-data-tools/blob/v${version}/CHANGELOG.md";
55 license = licenses.asl20;
56 maintainers = with maintainers; [ fab ];