python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / tools / bluetooth / obex-data-server / default.nix
blobcc6754b4a8c05ed91e4dbfc01d1dc8eb71cafdc4
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";
5   version = "0.4.6";
7   src = fetchurl {
8     url = "http://tadas.dailyda.com/software/obex-data-server-${version}.tar.gz";
9     sha256 = "0kq940wqs9j8qjnl58d6l3zhx0jaszci356xprx23l6nvdfld6dk";
10   };
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 ];
17   preConfigure = ''
18   addToSearchPath PKG_CONFIG_PATH ${openobex}/lib64/pkgconfig
19   export PKG_CONFIG_PATH="${dbus.dev}/lib/pkgconfig:$PKG_CONFIG_PATH"
20   '';
22   meta = with lib; {
23     homepage = "http://wiki.muiline.com/obex-data-server";
24     platforms = platforms.linux;
25     license = licenses.gpl2;
26   };