Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.03 612 B view raw
1{ stdenv 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 stdenv.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}