openobex-1.7.1 (1.5 could no longer be downloaded from kernel repositories)

This commit is contained in:
Aristid Breitkreuz 2013-08-27 21:16:03 +02:00 committed by Bjørn Forsman
parent a8a197587a
commit 8b4fef8840

View file

@ -1,17 +1,21 @@
{stdenv, fetchurl, pkgconfig, bluez, libusb}:
{stdenv, fetchurl, pkgconfig, bluez, libusb, cmake}:
stdenv.mkDerivation rec {
name = "openobex-1.5";
name = "openobex-1.7.1";
src = fetchurl {
url = "mirror://kernel/linux/bluetooth/${name}.tar.gz";
sha256 = "0rayjci99ahhvs2d16as1qql3vrcizd0nhi8n3n4g6krf1sh80p6";
url = "mirror://sourceforge/openobex/${name}-Source.tar.gz";
sha256 = "0mza0mrdrbcw4yix6qvl31kqy7bdkgxjycr0yx7yl089v5jlc9iv";
};
buildInputs = [pkgconfig bluez libusb];
buildInputs = [pkgconfig bluez libusb cmake];
configureFlags = "--enable-apps";
patchPhase = ''
sed -i "s!/lib/udev!$out/lib/udev!" udev/CMakeLists.txt
'';
meta = {
homepage = http://dev.zuckschwerdt.org/openobex/;
description = "An open source implementation of the Object Exchange (OBEX) protocol";