tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
openobex: cleanup, add license
Nikolay Amiantov
10 years ago
bd4b5455
1f20ca1f
+7
-5
1 changed file
expand all
collapse all
unified
split
pkgs
tools
bluetooth
openobex
default.nix
+7
-5
pkgs/tools/bluetooth/openobex/default.nix
···
1
1
-
{stdenv, fetchurl, pkgconfig, bluez, libusb, cmake}:
1
1
+
{ stdenv, fetchurl, pkgconfig, bluez, libusb, cmake }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "openobex-1.7.1";
···
8
8
sha256 = "0mza0mrdrbcw4yix6qvl31kqy7bdkgxjycr0yx7yl089v5jlc9iv";
9
9
};
10
10
11
11
-
buildInputs = [pkgconfig bluez libusb cmake];
11
11
+
nativeBuildInputs = [ pkgconfig cmake ];
12
12
+
buildInputs = [ bluez libusb ];
12
13
13
13
-
configureFlags = "--enable-apps";
14
14
+
configureFlags = [ "--enable-apps" ];
14
15
15
16
patchPhase = ''
16
17
sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt
17
18
sed -i "/if ( PKGCONFIG_UDEV_FOUND )/,/endif ( PKGCONFIG_UDEV_FOUND )/d" udev/CMakeLists.txt
18
19
'';
19
20
20
20
-
meta = {
21
21
+
meta = with stdenv.lib; {
21
22
homepage = http://dev.zuckschwerdt.org/openobex/;
22
23
description = "An open source implementation of the Object Exchange (OBEX) protocol";
23
23
-
platforms = stdenv.lib.platforms.linux;
24
24
+
platforms = platforms.linux;
25
25
+
license = licenses.lgpl2Plus;
24
26
};
25
27
}