1 { lib, stdenv, fetchurl, pkg-config, libusb-compat-0_1, glib, dbus-glib, bluez, openobex, dbus }:
3 stdenv.mkDerivation rec {
4 pname = "obex-data-server";
8 url = "http://tadas.dailyda.com/software/obex-data-server-${version}.tar.gz";
9 sha256 = "0kq940wqs9j8qjnl58d6l3zhx0jaszci356xprx23l6nvdfld6dk";
12 nativeBuildInputs = [ pkg-config ];
13 buildInputs = [ libusb-compat-0_1 glib dbus-glib bluez openobex dbus ];
15 patches = [ ./obex-data-server-0.4.6-build-fixes-1.patch ];
18 addToSearchPath PKG_CONFIG_PATH ${openobex}/lib64/pkgconfig
19 export PKG_CONFIG_PATH="${dbus.dev}/lib/pkgconfig:$PKG_CONFIG_PATH"
23 homepage = "http://wiki.muiline.com/obex-data-server";
24 platforms = platforms.linux;
25 license = licenses.gpl2;