2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, automake, autoconf, libtool, pkg-config, gnutls
|
2018-08-13 05:48:23 +01:00
|
|
|
, libgcrypt, libtasn1, glib, libplist, libusbmuxd }:
|
2010-09-26 20:40:07 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2018-08-13 05:48:23 +01:00
|
|
|
pname = "libimobiledevice";
|
2020-12-05 18:09:39 +00:00
|
|
|
version = "1.3.0";
|
2016-01-30 13:58:01 +00:00
|
|
|
|
2018-08-13 05:48:23 +01:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2020-12-05 18:09:39 +00:00
|
|
|
rev = version;
|
|
|
|
sha256 = "1jkq3hpg4n5a6s1k618ib0s80pwf00nlfcby7xckysq8mnd2pp39";
|
2010-09-26 20:40:07 +01:00
|
|
|
};
|
|
|
|
|
2018-08-13 05:48:23 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
autoconf
|
|
|
|
automake
|
|
|
|
libtool
|
2021-01-19 06:50:56 +00:00
|
|
|
pkg-config
|
2018-08-13 05:48:23 +01:00
|
|
|
];
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
glib
|
|
|
|
gnutls
|
|
|
|
libgcrypt
|
|
|
|
libplist
|
|
|
|
libtasn1
|
|
|
|
libusbmuxd
|
|
|
|
];
|
|
|
|
|
|
|
|
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--disable-openssl"
|
|
|
|
"--without-cython"
|
|
|
|
];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/libimobiledevice/libimobiledevice";
|
2010-09-26 20:40:07 +01:00
|
|
|
description = "A software library that talks the protocols to support iPhone®, iPod Touch® and iPad® devices on Linux";
|
|
|
|
longDescription = ''
|
|
|
|
libimobiledevice is a software library that talks the protocols to support
|
|
|
|
iPhone®, iPod Touch® and iPad® devices on Linux. Unlike other projects, it
|
|
|
|
does not depend on using any existing proprietary libraries and does not
|
|
|
|
require jailbreaking. It allows other software to easily access the
|
|
|
|
device's filesystem, retrieve information about the device and it's
|
|
|
|
internals, backup/restore the device, manage SpringBoard® icons, manage
|
|
|
|
installed applications, retrieve addressbook/calendars/notes and bookmarks
|
|
|
|
and synchronize music and video to the device. The library is in
|
|
|
|
development since August 2007 with the goal to bring support for these
|
2018-08-13 05:48:23 +01:00
|
|
|
devices to the Linux Desktop.
|
|
|
|
'';
|
|
|
|
license = licenses.lgpl21Plus;
|
2020-12-02 20:16:36 +00:00
|
|
|
platforms = platforms.linux ++ platforms.darwin;
|
2019-04-16 12:48:24 +01:00
|
|
|
maintainers = with maintainers; [ infinisil ];
|
2010-09-26 20:40:07 +01:00
|
|
|
};
|
|
|
|
}
|