diff --git a/pkgs/tools/bluetooth/obexd/default.nix b/pkgs/tools/bluetooth/obexd/default.nix new file mode 100644 index 000000000000..fbdeecba804f --- /dev/null +++ b/pkgs/tools/bluetooth/obexd/default.nix @@ -0,0 +1,16 @@ +{ stdenv, fetchurl, pkgconfig, glib, dbus, openobex, bluez }: + +stdenv.mkDerivation rec { + name = "obexd-0.18"; + + src = fetchurl { + url = "mirror://kernel/linux/bluetooth/${name}.tar.gz"; + sha256 = "0a3jpkgg8skiqmy2ksfffmwysji4dnd4h9fc46nj0wcn8n9vvfkd"; + }; + + buildInputs = [ pkgconfig glib dbus.libs openobex bluez ]; + + meta = { + homepage = http://www.bluez.org/; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 699aa03f75b3..e8ca09d597a3 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -1162,6 +1162,11 @@ let inherit fetchurl stdenv libevent; }; + obexd = import ../tools/bluetooth/obexd { + inherit fetchurl stdenv pkgconfig dbus openobex bluez; + inherit (gtkLibs) glib; + }; + obexfs = import ../tools/bluetooth/obexfs { inherit fetchurl stdenv pkgconfig fuse obexftp; };