2022-06-16 17:23:12 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, autoreconfHook
|
|
|
|
, pkg-config
|
|
|
|
, usbmuxd
|
|
|
|
, libimobiledevice
|
|
|
|
, libzip
|
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ideviceinstaller";
|
2023-07-15 17:15:38 +00:00
|
|
|
version = "1.1.1+date=2023-04-30";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "libimobiledevice";
|
|
|
|
repo = pname;
|
2023-07-15 17:15:38 +00:00
|
|
|
rev = "71ec5eaa30d2780c2614b6b227a2229ea3aeb1e9";
|
|
|
|
hash = "sha256-YsQwAlt71vouYJzXl0P7b3fG/MfcwI947GtvN4g3/gM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-06-16 17:23:12 +00:00
|
|
|
nativeBuildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
pkg-config
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
usbmuxd
|
|
|
|
libimobiledevice
|
|
|
|
libzip
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-11-16 04:20:00 +00:00
|
|
|
# the package uses zip_get_num_entries, which is deprecated
|
|
|
|
env.NIX_CFLAGS_COMPILE = toString [
|
|
|
|
"-Wno-error=deprecated-declarations"
|
|
|
|
];
|
|
|
|
|
2023-07-15 17:15:38 +00:00
|
|
|
preAutoreconf = ''
|
|
|
|
export RELEASE_VERSION=${version}
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://github.com/libimobiledevice/ideviceinstaller";
|
|
|
|
description = "List/modify installed apps of iOS devices";
|
|
|
|
longDescription = ''
|
|
|
|
ideviceinstaller is a tool to interact with the installation_proxy
|
|
|
|
of an iOS device allowing to install, upgrade, uninstall, archive, restore
|
|
|
|
and enumerate installed or archived apps.
|
|
|
|
'';
|
2022-06-16 17:23:12 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.unix;
|
2024-04-21 15:54:59 +00:00
|
|
|
maintainers = with maintainers; [ aristid ];
|
2024-01-02 11:29:13 +00:00
|
|
|
mainProgram = "ideviceinstaller";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|