* Various OBEX-related tools.

svn path=/nixpkgs/trunk/; revision=16595
This commit is contained in:
Eelco Dolstra 2009-08-05 23:24:27 +00:00
parent b7b4757ae4
commit e0bdca07ff
4 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{stdenv, fetchurl, pkgconfig, fuse, obexftp}:
stdenv.mkDerivation rec {
name = "obexfs-0.12";
src = fetchurl {
url = "mirror://sourceforge/openobex/${name}.tar.gz";
sha256 = "1g3krpygk6swa47vbmp9j9s8ahqqcl9ra8r25ybgzv2d9pmjm9kj";
};
buildInputs = [pkgconfig fuse obexftp];
NIX_LDFLAGS = "-lobexftp";
meta = {
homepage = http://dev.zuckschwerdt.org/openobex/wiki/ObexFs;
description = "A tool to mount OBEX-based devices (such as Bluetooth phones)";
};
}

View file

@ -0,0 +1,19 @@
{stdenv, fetchurl, pkgconfig, openobex, bluez}:
stdenv.mkDerivation rec {
name = "obexftp-0.23";
src = fetchurl {
url = "mirror://sourceforge/openobex/${name}.tar.bz2";
sha256 = "0djv239b14p221xjxzza280w3pnnwzpw4ssd6mshz36ki3r4z9s4";
};
buildInputs = [pkgconfig bluez];
propagatedBuildInputs = [openobex];
meta = {
homepage = http://dev.zuckschwerdt.org/openobex/wiki/ObexFtp;
description = "A library and tool to access files on OBEX-based devices (such as Bluetooth phones)";
};
}

View file

@ -0,0 +1,19 @@
{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";
};
}

View file

@ -1087,6 +1087,18 @@ let
inherit fetchurl stdenv libevent;
};
obexfs = import ../tools/bluetooth/obexfs {
inherit fetchurl stdenv pkgconfig fuse obexftp;
};
obexftp = import ../tools/bluetooth/obexftp {
inherit fetchurl stdenv pkgconfig openobex bluez;
};
openobex = import ../tools/bluetooth/openobex {
inherit fetchurl stdenv pkgconfig bluez libusb;
};
openssh = import ../tools/networking/openssh {
inherit fetchurl stdenv zlib openssl pam perl;
pamSupport = getPkgConfig "openssh" "pam" true;