1{ lib
2, stdenv
3, fetchFromGitHub
4, autoreconfHook
5, pkg-config
6, fuse
7, usbmuxd
8, libimobiledevice
9}:
10
11stdenv.mkDerivation rec {
12 pname = "ifuse";
13 version = "1.1.4+date=2022-04-04";
14
15 src = fetchFromGitHub {
16 owner = "libimobiledevice";
17 repo = pname;
18 rev = "6f5b8e410f9615b3369ca5eb5367745e13d83b92";
19 hash = "sha256-KbuJLS2BWua9DnhLv2KtsQObin0PQwXQwEdgi3lSAPk=";
20 };
21
22 nativeBuildInputs = [
23 autoreconfHook
24 pkg-config
25 ];
26
27 buildInputs = [
28 fuse
29 usbmuxd
30 libimobiledevice
31 ];
32
33 meta = with lib; {
34 homepage = "https://github.com/libimobiledevice/ifuse";
35 description = "A fuse filesystem implementation to access the contents of iOS devices";
36 longDescription = ''
37 Mount directories of an iOS device locally using fuse. By default the media
38 directory is mounted, options allow to also mount the sandbox container of an
39 app, an app's documents folder or even the root filesystem on jailbroken
40 devices.
41 '';
42 license = licenses.lgpl21Plus;
43 platforms = platforms.unix;
44 maintainers = with maintainers; [ infinisil ];
45 };
46}