2015-04-30 00:46:14 +02:00
|
|
|
{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
|
2010-09-26 21:39:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2015-04-30 00:46:14 +02:00
|
|
|
name = "usbmuxd-${version}";
|
|
|
|
version = "1.1.0";
|
2010-09-26 21:39:35 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-04-30 00:46:14 +02:00
|
|
|
url = "http://www.libimobiledevice.org/downloads/${name}.tar.bz2";
|
|
|
|
sha256 = "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y";
|
2010-09-26 21:39:35 +02:00
|
|
|
};
|
|
|
|
|
2015-04-30 00:46:14 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];
|
2010-09-26 21:39:35 +02:00
|
|
|
|
2015-04-30 00:46:14 +02:00
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
|
|
|
|
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
|
|
|
|
'';
|
2012-01-06 00:15:33 +01:00
|
|
|
|
2010-09-26 21:39:35 +02:00
|
|
|
meta = {
|
|
|
|
homepage = http://marcansoft.com/blog/iphonelinux/usbmuxd/;
|
|
|
|
description = "USB Multiplex Daemon (for talking to iPhone or iPod)";
|
|
|
|
longDescription = ''
|
|
|
|
usbmuxd: USB Multiplex Daemon. This bit of software is in charge of
|
|
|
|
talking to your iPhone or iPod Touch over USB and coordinating access to
|
|
|
|
its services by other applications.'';
|
2012-01-06 00:15:33 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-26 21:39:35 +02:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|