aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/bluetooth
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-02-12 22:44:55 +0300
committerNikolay Amiantov <ab@fmap.me>2016-02-12 22:47:51 +0300
commitbd4b54557dcceb7d7d1a77009a717abb7b96883f (patch)
treec5d819f4e0887906b7fa4167b91f14185273c712 /pkgs/tools/bluetooth
parent1f20ca1f74e3f80624bf4a81022558e6434543d5 (diff)
openobex: cleanup, add license
Diffstat (limited to 'pkgs/tools/bluetooth')
-rw-r--r--pkgs/tools/bluetooth/openobex/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/bluetooth/openobex/default.nix b/pkgs/tools/bluetooth/openobex/default.nix
index 7baf1ac3ed9..ec5ca0706f4 100644
--- a/pkgs/tools/bluetooth/openobex/default.nix
+++ b/pkgs/tools/bluetooth/openobex/default.nix
@@ -1,4 +1,4 @@
-{stdenv, fetchurl, pkgconfig, bluez, libusb, cmake}:
+{ stdenv, fetchurl, pkgconfig, bluez, libusb, cmake }:
stdenv.mkDerivation rec {
name = "openobex-1.7.1";
@@ -8,18 +8,20 @@ stdenv.mkDerivation rec {
sha256 = "0mza0mrdrbcw4yix6qvl31kqy7bdkgxjycr0yx7yl089v5jlc9iv";
};
- buildInputs = [pkgconfig bluez libusb cmake];
+ nativeBuildInputs = [ pkgconfig cmake ];
+ buildInputs = [ bluez libusb ];
- configureFlags = "--enable-apps";
+ configureFlags = [ "--enable-apps" ];
patchPhase = ''
sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt
sed -i "/if ( PKGCONFIG_UDEV_FOUND )/,/endif ( PKGCONFIG_UDEV_FOUND )/d" udev/CMakeLists.txt
'';
- meta = {
+ meta = with stdenv.lib; {
homepage = http://dev.zuckschwerdt.org/openobex/;
description = "An open source implementation of the Object Exchange (OBEX) protocol";
- platforms = stdenv.lib.platforms.linux;
+ platforms = platforms.linux;
+ license = licenses.lgpl2Plus;
};
}