diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-08-05 23:24:27 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2009-08-05 23:24:27 +0000 |
commit | e0bdca07fff6c0576060e8f6069739fbc06b8d87 (patch) | |
tree | 330e84d16fcbd7cb59e4e1594594d613d83dff70 | |
parent | b7b4757ae4e923502c067cfb26ce25f5f13bc5b2 (diff) | |
download | nixpkgs-e0bdca07fff6c0576060e8f6069739fbc06b8d87.tar nixpkgs-e0bdca07fff6c0576060e8f6069739fbc06b8d87.tar.gz nixpkgs-e0bdca07fff6c0576060e8f6069739fbc06b8d87.tar.bz2 nixpkgs-e0bdca07fff6c0576060e8f6069739fbc06b8d87.tar.lz nixpkgs-e0bdca07fff6c0576060e8f6069739fbc06b8d87.tar.xz nixpkgs-e0bdca07fff6c0576060e8f6069739fbc06b8d87.tar.zst nixpkgs-e0bdca07fff6c0576060e8f6069739fbc06b8d87.zip |
* Various OBEX-related tools.
svn path=/nixpkgs/trunk/; revision=16595
-rw-r--r-- | pkgs/tools/bluetooth/obexfs/default.nix | 19 | ||||
-rw-r--r-- | pkgs/tools/bluetooth/obexftp/default.nix | 19 | ||||
-rw-r--r-- | pkgs/tools/bluetooth/openobex/default.nix | 19 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 12 |
4 files changed, 69 insertions, 0 deletions
diff --git a/pkgs/tools/bluetooth/obexfs/default.nix b/pkgs/tools/bluetooth/obexfs/default.nix new file mode 100644 index 00000000000..aeeeb4bf8d0 --- /dev/null +++ b/pkgs/tools/bluetooth/obexfs/default.nix @@ -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)"; + }; +} diff --git a/pkgs/tools/bluetooth/obexftp/default.nix b/pkgs/tools/bluetooth/obexftp/default.nix new file mode 100644 index 00000000000..c1531b1ce16 --- /dev/null +++ b/pkgs/tools/bluetooth/obexftp/default.nix @@ -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)"; + }; +} diff --git a/pkgs/tools/bluetooth/openobex/default.nix b/pkgs/tools/bluetooth/openobex/default.nix new file mode 100644 index 00000000000..21c0c119c4c --- /dev/null +++ b/pkgs/tools/bluetooth/openobex/default.nix @@ -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"; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index df325c2b911..b0a22b38499 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; |