* Various OBEX-related tools.
svn path=/nixpkgs/trunk/; revision=16595
This commit is contained in:
parent
b7b4757ae4
commit
e0bdca07ff
19
pkgs/tools/bluetooth/obexfs/default.nix
Normal file
19
pkgs/tools/bluetooth/obexfs/default.nix
Normal 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)";
|
||||
};
|
||||
}
|
19
pkgs/tools/bluetooth/obexftp/default.nix
Normal file
19
pkgs/tools/bluetooth/obexftp/default.nix
Normal 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)";
|
||||
};
|
||||
}
|
19
pkgs/tools/bluetooth/openobex/default.nix
Normal file
19
pkgs/tools/bluetooth/openobex/default.nix
Normal 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";
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue