mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
28 lines
604 B
Nix
28 lines
604 B
Nix
{ lib
|
|
, 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 lib; {
|
|
homepage = "http://lightblue.sourceforge.net";
|
|
description = "Cross-platform Bluetooth API for Python";
|
|
maintainers = with maintainers; [ leenaars ];
|
|
license = licenses.gpl3;
|
|
};
|
|
|
|
}
|