usbmuxd: update to 1.1.0

This commit is contained in:
Thomas Tuegel 2015-04-29 17:46:14 -05:00
parent e3ff2793fb
commit 487310e921

View File

@ -1,24 +1,22 @@
{ stdenv, fetchurl, cmake, libplist, libusb1, pkgconfig }:
{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
stdenv.mkDerivation rec {
name = "usbmuxd-1.0.7";
name = "usbmuxd-${version}";
version = "1.1.0";
src = fetchurl {
url = "http://marcansoft.com/uploads/usbmuxd/${name}.tar.bz2";
sha256 = "09swwr6x46qxmwylrylnyqh4pznr0swla9gijggwxxw8dw82r840";
url = "http://www.libimobiledevice.org/downloads/${name}.tar.bz2";
sha256 = "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y";
};
nativeBuildInputs = [ cmake pkgconfig ];
propagatedBuildInputs = [ libusb1 libplist ];
nativeBuildInputs = [ pkgconfig ];
propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];
patchPhase =
''
sed -e 's,/lib/udev,lib/udev,' -i udev/CMakeLists.txt
sed -e 's,/bin/echo,echo,g' -i Modules/describe.sh
'';
preConfigure = ''
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
'';
cmakeFlags = ''-DLIB_SUFFIX='';
meta = {
homepage = http://marcansoft.com/blog/iphonelinux/usbmuxd/;
description = "USB Multiplex Daemon (for talking to iPhone or iPod)";