1{ lib 2, buildPythonPackage 3, fetchurl 4, pkgs 5, isPy3k 6}: 7 8buildPythonPackage rec { 9 pname = "lightblue"; 10 version = "0.4"; 11 disabled = isPy3k; # build fails, 2018-04-11 12 13 src = fetchurl { 14 url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz"; 15 sha256 = "016h1mlhpqxjj25lcvl4fqc19k8ifmsv6df7rhr12fyfcrp5i14d"; 16 }; 17 18 buildInputs = [ pkgs.bluez pkgs.openobex ]; 19 20 meta = with lib; { 21 homepage = "http://lightblue.sourceforge.net"; 22 description = "Cross-platform Bluetooth API for Python"; 23 maintainers = with maintainers; [ leenaars ]; 24 license = licenses.gpl3; 25 }; 26 27}