2010-09-26 19:39:35 +00:00
|
|
|
{ stdenv, fetchurl, cmake, libplist, libusb1, pkgconfig }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-01-05 23:15:33 +00:00
|
|
|
name = "usbmuxd-1.0.7";
|
2010-09-26 19:39:35 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://marcansoft.com/uploads/usbmuxd/${name}.tar.bz2";
|
2012-01-05 23:15:33 +00:00
|
|
|
sha256 = "09swwr6x46qxmwylrylnyqh4pznr0swla9gijggwxxw8dw82r840";
|
2010-09-26 19:39:35 +00:00
|
|
|
};
|
|
|
|
|
2012-01-05 23:15:33 +00:00
|
|
|
buildNativeInputs = [ cmake pkgconfig ];
|
2010-09-26 19:39:35 +00:00
|
|
|
propagatedBuildInputs = [ libusb1 libplist ];
|
|
|
|
|
2012-01-05 23:15:33 +00:00
|
|
|
patchPhase =
|
|
|
|
''
|
|
|
|
sed -e 's,/lib/udev,lib/udev,' -i udev/CMakeLists.txt
|
|
|
|
sed -e 's,/bin/echo,echo,g' -i Modules/describe.sh
|
|
|
|
'';
|
|
|
|
|
2010-09-26 19:39:35 +00:00
|
|
|
|
|
|
|
cmakeFlags = ''-DLIB_SUFFIX='';
|
|
|
|
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-05 23:15:33 +00:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2010-09-26 19:39:35 +00:00
|
|
|
maintainers = [ stdenv.lib.maintainers.urkud ];
|
|
|
|
};
|
|
|
|
}
|