2012-01-05 23:16:00 +00:00
|
|
|
{ stdenv, fetchurl, python, pkgconfig, usbmuxd, glib, gnutls, libgcrypt,
|
2011-04-12 16:59:52 +00:00
|
|
|
libtasn1, libplist, readline }:
|
2010-09-26 19:40:07 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-09-24 15:32:20 +00:00
|
|
|
name = "libimobiledevice-1.0.7";
|
2010-09-26 19:40:07 +00:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ python libplist.swig pkgconfig ];
|
2012-01-05 23:16:00 +00:00
|
|
|
buildInputs = [ readline ];
|
2010-09-26 19:40:07 +00:00
|
|
|
propagatedBuildInputs = [ usbmuxd glib gnutls libgcrypt libtasn1 libplist ];
|
|
|
|
|
2012-01-05 23:16:00 +00:00
|
|
|
patchPhase = ''sed -e 's@1\.3\.21@@' -i configure'';
|
|
|
|
passthru.swig = libplist.swig;
|
2010-09-26 19:40:07 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/downloads/${name}.tar.bz2";
|
2013-09-24 15:32:20 +00:00
|
|
|
sha256 = "15jznqc52yfwkbw19hgv3r1qd4gcymakbfkyizmr6v4n0sn27n0f";
|
2010-09-26 19:40:07 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.libimobiledevice.org;
|
|
|
|
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
|
|
|
|
devices to the Linux Desktop.'';
|
|
|
|
inherit (usbmuxd.meta) platforms maintainers;
|
|
|
|
};
|
|
|
|
}
|