summary refs log tree commit diff
path: root/pkgs/development/python-modules/lightblue/default.nix
blob: f826bbecb0a302757a62b68f61c37a274d3b6bc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv
, 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 ];

  meta = with stdenv.lib; {
    homepage = http://lightblue.sourceforge.net;
    description = "Cross-platform Bluetooth API for Python";
    maintainers = with maintainers; [ leenaars ];
    license = licenses.gpl3;
  };

}