mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
ab3eeabfed
Likewise for propagatedBuildNativeInputs, etc. "buildNativeInputs" sounds like an imperative rather than a noun phrase.
36 lines
1.5 KiB
Nix
36 lines
1.5 KiB
Nix
{ stdenv, fetchurl, python, pkgconfig, usbmuxd, glib, gnutls, libgcrypt,
|
|
libtasn1, libplist, readline }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libimobiledevice-1.0.6";
|
|
|
|
nativeBuildInputs = [ python libplist.swig pkgconfig ];
|
|
buildInputs = [ readline ];
|
|
propagatedBuildInputs = [ usbmuxd glib gnutls libgcrypt libtasn1 libplist ];
|
|
|
|
patchPhase = ''sed -e 's@1\.3\.21@@' -i configure'';
|
|
passthru.swig = libplist.swig;
|
|
|
|
src = fetchurl {
|
|
url = "${meta.homepage}/downloads/${name}.tar.bz2";
|
|
sha256 = "0r5gjprrnwgad5zsidn41w01gihramagcpl8cwi540qiwq43svqi";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|