1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 14:11:36 +00:00
nixpkgs/pkgs/tools/misc/usbmuxd/default.nix

39 lines
1.5 KiB
Nix
Raw Normal View History

2018-08-13 05:48:58 +01:00
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1, libimobiledevice }:
stdenv.mkDerivation rec {
2018-08-13 05:48:58 +01:00
pname = "usbmuxd";
2019-12-07 20:20:29 +00:00
version = "2019-11-11";
2018-08-13 05:48:58 +01:00
src = fetchFromGitHub {
owner = "libimobiledevice";
repo = pname;
2019-12-07 20:20:29 +00:00
rev = "9af2b12552693a47601347e1eafc1e94132d727e";
sha256 = "0w8mf2wfpqijg882vhb8xarlp6zja23xf0b59z5zi774pnpjbqvj";
};
2018-08-13 05:48:58 +01:00
nativeBuildInputs = [ autoreconfHook pkgconfig ];
propagatedBuildInputs = [ libimobiledevice libusb1 ];
2015-04-29 23:46:14 +01:00
preConfigure = ''
configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
'';
2018-08-13 05:48:58 +01:00
meta = with stdenv.lib; {
homepage = "https://github.com/libimobiledevice/usbmuxd";
2018-08-13 05:48:58 +01:00
description = "A socket daemon to multiplex connections from and to iOS devices";
longDescription = ''
2018-08-13 05:48:58 +01: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;
2019-04-16 12:49:02 +01:00
maintainers = with maintainers; [ infinisil ];
};
}