diff options
-rw-r--r-- | pkgs/development/libraries/libimobiledevice/default.nix | 33 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libimobiledevice/default.nix b/pkgs/development/libraries/libimobiledevice/default.nix new file mode 100644 index 00000000000..8af6b2d611a --- /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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 1157e58d37a..92d729decd0 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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; }; |