2021-01-11 07:54:33 +00:00
|
|
|
{ lib, stdenv
|
2018-10-16 04:45:05 +01:00
|
|
|
, buildPythonPackage
|
|
|
|
, fetchurl
|
|
|
|
, pkgs
|
|
|
|
, isPy3k
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "lightblue";
|
|
|
|
version = "0.4";
|
|
|
|
disabled = isPy3k; # build fails, 2018-04-11
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sourceforge/${pname}/${pname}-${version}.tar.gz";
|
|
|
|
sha256 = "016h1mlhpqxjj25lcvl4fqc19k8ifmsv6df7rhr12fyfcrp5i14d";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pkgs.bluez pkgs.openobex ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "http://lightblue.sourceforge.net";
|
2018-10-16 04:45:05 +01:00
|
|
|
description = "Cross-platform Bluetooth API for Python";
|
|
|
|
maintainers = with maintainers; [ leenaars ];
|
|
|
|
license = licenses.gpl3;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|