1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 pybluez, 6}: 7 8buildPythonPackage rec { 9 pname = "bt-proximity"; 10 version = "0.2.1"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 pname = "bt_proximity"; 15 inherit version; 16 sha256 = "0xlif91vblbz065531yjf8nmlcahrl4q5pz52bc1jmzz7iv9hpgq"; 17 }; 18 19 propagatedBuildInputs = [ pybluez ]; 20 21 # there are no tests 22 doCheck = false; 23 24 pythonImportsCheck = [ "bt_proximity" ]; 25 26 meta = with lib; { 27 description = "Bluetooth Proximity Detection using Python"; 28 homepage = "https://github.com/FrederikBolding/bluetooth-proximity"; 29 maintainers = with maintainers; [ peterhoeg ]; 30 license = licenses.asl20; 31 }; 32}