2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, fuse
|
|
|
|
, usbmuxd
|
|
|
|
, libimobiledevice
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ifuse";
|
2022-06-16 17:23:12 +00:00
|
|
|
version = "1.1.4+date=2022-04-04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libimobiledevice";
|
|
|
|
repo = pname;
|
2022-06-16 17:23:12 +00:00
|
|
|
rev = "6f5b8e410f9615b3369ca5eb5367745e13d83b92";
|
|
|
|
hash = "sha256-KbuJLS2BWua9DnhLv2KtsQObin0PQwXQwEdgi3lSAPk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
fuse
|
|
|
|
usbmuxd
|
|
|
|
libimobiledevice
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/libimobiledevice/ifuse";
|
|
|
|
description = "A fuse filesystem implementation to access the contents of iOS devices";
|
|
|
|
longDescription = ''
|
|
|
|
Mount directories of an iOS device locally using fuse. By default the media
|
|
|
|
directory is mounted, options allow to also mount the sandbox container of an
|
|
|
|
app, an app's documents folder or even the root filesystem on jailbroken
|
|
|
|
devices.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl21Plus;
|
2021-04-22 02:08:21 +00:00
|
|
|
platforms = platforms.unix;
|
2020-04-24 23:36:52 +00:00
|
|
|
maintainers = with maintainers; [ infinisil ];
|
|
|
|
};
|
|
|
|
}
|