summary refs log tree commit diff
path: root/pkgs/tools/bluetooth/openobex/default.nix
blob: 97ed96371c8f4738af36212bc7e63da23258f071 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{stdenv, fetchurl, pkgconfig, bluez, libusb}:
   
stdenv.mkDerivation rec {
  name = "openobex-1.5";
   
  src = fetchurl {
    url = "mirror://kernel/linux/bluetooth/${name}.tar.gz";
    sha256 = "0rayjci99ahhvs2d16as1qql3vrcizd0nhi8n3n4g6krf1sh80p6";
  };

  buildInputs = [pkgconfig bluez libusb];

  configureFlags = "--enable-apps";

  meta = {
    homepage = http://dev.zuckschwerdt.org/openobex/;
    description = "An open source implementation of the Object Exchange (OBEX) protocol";
    platforms = stdenv.lib.platforms.linux;
  };
}