From f81af3dce024fb0f497f515f31ca93c106239880 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 26 Sep 2010 19:40:07 +0000 Subject: Add libimobiledevice svn path=/nixpkgs/trunk/; revision=23953 --- .../libraries/libimobiledevice/default.nix | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 pkgs/development/libraries/libimobiledevice/default.nix (limited to 'pkgs/development/libraries/libimobiledevice/default.nix') diff --git a/pkgs/development/libraries/libimobiledevice/default.nix b/pkgs/development/libraries/libimobiledevice/default.nix new file mode 100644 index 000000000000..8af6b2d611af --- /dev/null +++ b/pkgs/development/libraries/libimobiledevice/default.nix @@ -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; + }; +} -- cgit 1.4.1