···1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libplist }:
23stdenv.mkDerivation rec {
4+ pname = "libusbmuxd";
5+ version = "2018-07-23";
6+7+ name = "${pname}-${version}";
8+9+ src = fetchFromGitHub {
10+ owner = "libimobiledevice";
11+ repo = pname;
12+ rev = "78df9be5fc8222ed53846cb553de9b5d24c85c6c";
13+ sha256 = "05hbn0mbmv5ln9hfsvnf7i1mnp6ncbyfnl5w331kg4fi12wjshc5";
14 };
1516+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
0000000017 buildInputs = [ libplist ];
1819+ meta = with stdenv.lib; {
20+ description = "A client library to multiplex connections from and to iOS devices";
21+ homepage = https://github.com/libimobiledevice/libusbmuxd;
22+ license = licenses.lgpl21Plus;
23+ platforms = platforms.linux;
24+ maintainers = with maintainers; [ ];
25 };
26}
+21-15
pkgs/tools/filesystems/ifuse/default.nix
···1-{ stdenv, fetchurl, pkgconfig, usbmuxd, fuse, gnutls, libgcrypt,
2- libplist, libimobiledevice }:
34stdenv.mkDerivation rec {
5- name = "ifuse-1.1.3";
067- nativeBuildInputs = [ pkgconfig fuse libplist usbmuxd gnutls libgcrypt libimobiledevice ];
89- src = fetchurl {
10- url = "${meta.homepage}/downloads/${name}.tar.bz2";
11- sha256 = "1p9a4n36jb194cnp6v57cz2bggwbywaz8pbpb95ch83pzdkdx257";
0012 };
1314- meta = {
15- homepage = http://www.libimobiledevice.org;
16- license = stdenv.lib.licenses.lgpl21Plus;
017 description = "A fuse filesystem implementation to access the contents of iOS devices";
18 longDescription = ''
19- Mount directories of an iOS device locally using fuse. By default the media
20- directory is mounted, options allow to also mount the sandbox container of an
21- app, an app's documents folder or even the root filesystem on jailbroken
22- devices.'';
23- inherit (usbmuxd.meta) platforms maintainers;
00024 };
25}
···1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, usbmuxd, fuse, libimobiledevice }:
023stdenv.mkDerivation rec {
4+ pname = "ifuse";
5+ version = "1.1.3";
67+ name = "${pname}-${version}";
89+ src = fetchFromGitHub {
10+ owner = "libimobiledevice";
11+ repo = pname;
12+ rev = version;
13+ sha256 = "0p01rds3vc5864v48swgqw5dv0h937nqnxggryixg9pkvzhc6cx5";
14 };
1516+ nativeBuildInputs = [ autoreconfHook pkgconfig fuse usbmuxd libimobiledevice ];
17+18+ meta = with stdenv.lib; {
19+ homepage = https://github.com/libimobiledevice/ifuse;
20 description = "A fuse filesystem implementation to access the contents of iOS devices";
21 longDescription = ''
22+ Mount directories of an iOS device locally using fuse. By default the media
23+ directory is mounted, options allow to also mount the sandbox container of an
24+ app, an app's documents folder or even the root filesystem on jailbroken
25+ devices.
26+ '';
27+ license = licenses.lgpl21Plus;
28+ platforms = platforms.linux;
29+ maintainers = with maintainers; [ ];
30 };
31}
+26-16
pkgs/tools/misc/usbmuxd/default.nix
···1-{ stdenv, fetchurl, libplist, libusb1, pkgconfig, libimobiledevice }:
23stdenv.mkDerivation rec {
4- name = "usbmuxd-${version}";
5- version = "1.1.0";
0067- src = fetchurl {
8- url = "https://www.libimobiledevice.org/downloads/${name}.tar.bz2";
9- sha256 = "0bdlc7a8plvglqqx39qqampqm6y0hcdws76l9dffwl22zss4i29y";
0010 };
1112- nativeBuildInputs = [ pkgconfig ];
13- propagatedBuildInputs = [ libusb1 libplist libimobiledevice ];
1415 preConfigure = ''
16 configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
17 configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
18 '';
1920- meta = {
21- homepage = http://marcansoft.com/blog/iphonelinux/usbmuxd/;
22- description = "USB Multiplex Daemon (for talking to iPhone or iPod)";
23 longDescription = ''
24- usbmuxd: USB Multiplex Daemon. This bit of software is in charge of
25- talking to your iPhone or iPod Touch over USB and coordinating access to
26- its services by other applications.'';
27- platforms = stdenv.lib.platforms.linux;
28- maintainers = [ ];
00000029 };
30}
···1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, libusb1, libimobiledevice }:
23stdenv.mkDerivation rec {
4+ pname = "usbmuxd";
5+ version = "2018-07-22";
6+7+ name = "${pname}-${version}";
89+ src = fetchFromGitHub {
10+ owner = "libimobiledevice";
11+ repo = pname;
12+ rev = "ee85938c21043ef5f7cd4dfbc7677f385814d4d8";
13+ sha256 = "1qsnxvcagxa92rz0w78m0n2drgaghi0pqpbjdk2080sczzi1g76y";
14 };
1516+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
17+ propagatedBuildInputs = [ libimobiledevice libusb1 ];
1819 preConfigure = ''
20 configureFlags="$configureFlags --with-udevrulesdir=$out/lib/udev/rules.d"
21 configureFlags="$configureFlags --with-systemdsystemunitdir=$out/lib/systemd/system"
22 '';
2324+ meta = with stdenv.lib; {
25+ homepage = https://github.com/libimobiledevice/usbmuxd;
26+ description = "A socket daemon to multiplex connections from and to iOS devices";
27 longDescription = ''
28+ usbmuxd stands for "USB multiplexing daemon". This daemon is in charge of
29+ multiplexing connections over USB to an iOS device. To users, it means
30+ you can sync your music, contacts, photos, etc. over USB. To developers, it
31+ means you can connect to any listening localhost socket on the device. usbmuxd
32+ is not used for tethering data transfer which uses a dedicated USB interface as
33+ a virtual network device. Multiple connections to different TCP ports can happen
34+ in parallel. The higher-level layers are handled by libimobiledevice.
35+ '';
36+ license = licenses.gpl2Plus;
37+ platforms = platforms.linux;
38+ maintainers = with maintainers; [ ];
39 };
40}