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