10 stdenv.mkDerivation rec {
12 version = "1.1.1+date=2023-05-05";
14 src = fetchFromGitHub {
15 owner = "libimobiledevice";
17 rev = "01c94c77f59404924f1c46d99c4e5e0c7817281b";
18 hash = "sha256-WqbobkzlJ9g5fb9S2QPi3qdpCLx3pxtNlT7qDI63Zp4=";
26 propagatedBuildInputs = [
32 export RELEASE_VERSION=${version}
36 "--with-udevrulesdir=${placeholder "out"}/lib/udev/rules.d"
37 "--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
41 homepage = "https://github.com/libimobiledevice/usbmuxd";
42 description = "Socket daemon to multiplex connections from and to iOS devices";
44 usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
45 multiplexing connections over USB to an iOS device. To users, it means
46 you can sync your music, contacts, photos, etc. over USB. To developers, it
47 means you can connect to any listening localhost socket on the device. usbmuxd
48 is not used for tethering data transfer which uses a dedicated USB interface as
49 a virtual network device. Multiple connections to different TCP ports can happen
50 in parallel. The higher-level layers are handled by libimobiledevice.
52 license = licenses.gpl2Plus;
53 platforms = platforms.unix;
55 mainProgram = "usbmuxd";