Add libimobiledevice

svn path=/nixpkgs/trunk/; revision=23953
This commit is contained in:
Yury G. Kudryashov 2010-09-26 19:40:07 +00:00
parent 5213f959ad
commit f81af3dce0
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,33 @@
{ stdenv, fetchurl, python, swig, pkgconfig, usbmuxd, glib, gnutls, libgcrypt,
libtasn1, libplist, readline }:
stdenv.mkDerivation rec {
name = "libimobiledevice-1.0.2";
buildInputs = [ python swig pkgconfig readline ];
propagatedBuildInputs = [ usbmuxd glib gnutls libgcrypt libtasn1 libplist ];
configureFlags = "--enable-dev-tools";
src = fetchurl {
url = "${meta.homepage}/downloads/${name}.tar.bz2";
sha256 = "1wbx0hr0q1dhw1p7326qm3dvzacykhc4w005q5wp2gkxa68dnw5s";
};
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;
};
}

View File

@ -3242,6 +3242,8 @@ let
libical = callPackage ../development/libraries/libical { };
libimobiledevice = callPackage ../development/libraries/libimobiledevice { };
libiodbc = callPackage ../development/libraries/libiodbc {
useGTK = getPkgConfig "libiodbc" "gtk" false;
};