2018-08-13 06:48:58 +02:00
|
|
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1, libimobiledevice }:
|
2010-09-26 21:39:35 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-13 06:48:58 +02:00
|
|
|
pname = "usbmuxd";
|
2019-01-30 17:55:24 +01:00
|
|
|
version = "2018-10-10";
|
2010-09-26 21:39:35 +02:00
|
|
|
|
2018-08-13 06:48:58 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libimobiledevice";
|
|
|
|
repo = pname;
|
2019-01-30 17:55:24 +01:00
|
|
|
rev = "96e4aabe0b9a46ea9da4955a10c774a8e58fe677";
|
|
|
|
sha256 = "03xnj4y606adbhl829vv46qa78f6w2ik4mjz19a34x9lhkcrqxqi";
|
2010-09-26 21:39:35 +02:00
|
|
|
};
|
|
|
|
|
2018-08-13 06:48:58 +02:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
propagatedBuildInputs = [ libimobiledevice libusb1 ];
|
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
|
|
|
|
2018-08-13 06:48:58 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://github.com/libimobiledevice/usbmuxd;
|
|
|
|
description = "A socket daemon to multiplex connections from and to iOS devices";
|
2010-09-26 21:39:35 +02:00
|
|
|
longDescription = ''
|
2018-08-13 06:48:58 +02:00
|
|
|
usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
|
|
|
|
multiplexing connections over USB to an iOS device. To users, it means
|
|
|
|
you can sync your music, contacts, photos, etc. over USB. To developers, it
|
|
|
|
means you can connect to any listening localhost socket on the device. usbmuxd
|
|
|
|
is not used for tethering data transfer which uses a dedicated USB interface as
|
|
|
|
a virtual network device. Multiple connections to different TCP ports can happen
|
|
|
|
in parallel. The higher-level layers are handled by libimobiledevice.
|
|
|
|
'';
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ ];
|
2010-09-26 21:39:35 +02:00
|
|
|
};
|
|
|
|
}
|