libimobiledevice: 1.2.0 -> 2018-07-24
This commit is contained in:
parent
d4d5068557
commit
8842e43477
@ -1,32 +1,46 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, python2, pkgconfig, usbmuxd, glib, libgcrypt,
|
{ stdenv, fetchFromGitHub, automake, autoconf, libtool, pkgconfig, gnutls
|
||||||
libtasn1, libplist, readline, libusbmuxd, openssl }:
|
, libgcrypt, libtasn1, glib, libplist, libusbmuxd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "libimobiledevice-1.2.0";
|
pname = "libimobiledevice";
|
||||||
|
version = "2018-07-24";
|
||||||
|
|
||||||
nativeBuildInputs = [ python2 libplist.swig pkgconfig ];
|
name = "${pname}-${version}";
|
||||||
buildInputs = [ readline ];
|
|
||||||
propagatedBuildInputs = [ libusbmuxd glib libgcrypt libtasn1 libplist openssl ];
|
|
||||||
|
|
||||||
patches = [
|
src = fetchFromGitHub {
|
||||||
./disable_sslv3.patch
|
owner = pname;
|
||||||
(fetchpatch {
|
repo = pname;
|
||||||
name = "CVE-2016-5104.patch";
|
rev = "d7a2e04d2e7880c56116fd35489a7f98755501b7";
|
||||||
url = "https://github.com/libimobiledevice/libimobiledevice/commit/df1f5c4d70d0c19ad40072f5246ca457e7f9849e.patch";
|
sha256 = "0cj0j10lmfr28c7nh79n2mcmy31xx50g93h0bqs0l7y76ph4dqkc";
|
||||||
sha256 = "06ygb9aqcvm4v08wrldsddjgyqv5bkpq6lxzq2a1nwqp9mq4a4k1";
|
|
||||||
})
|
|
||||||
];
|
|
||||||
|
|
||||||
postPatch = ''sed -e 's@1\.3\.21@@' -i configure'';
|
|
||||||
passthru.swig = libplist.swig;
|
|
||||||
|
|
||||||
src = fetchurl {
|
|
||||||
url = "${meta.homepage}/downloads/${name}.tar.bz2";
|
|
||||||
sha256 = "0dqhy4qwj30mw8pwckvjmgnj1qqrh6p8c6jknmhvylshhzh0ssvq";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
outputs = [ "out" "dev" ];
|
||||||
homepage = http://www.libimobiledevice.org;
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
libtool
|
||||||
|
pkgconfig
|
||||||
|
];
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
glib
|
||||||
|
gnutls
|
||||||
|
libgcrypt
|
||||||
|
libplist
|
||||||
|
libtasn1
|
||||||
|
libusbmuxd
|
||||||
|
];
|
||||||
|
|
||||||
|
preConfigure = "NOCONFIGURE=1 ./autogen.sh";
|
||||||
|
|
||||||
|
configureFlags = [
|
||||||
|
"--disable-static"
|
||||||
|
"--disable-openssl"
|
||||||
|
"--without-cython"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = https://github.com/libimobiledevice/libimobiledevice;
|
||||||
description = "A software library that talks the protocols to support iPhone®, iPod Touch® and iPad® devices on Linux";
|
description = "A software library that talks the protocols to support iPhone®, iPod Touch® and iPad® devices on Linux";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
libimobiledevice is a software library that talks the protocols to support
|
libimobiledevice is a software library that talks the protocols to support
|
||||||
@ -38,7 +52,10 @@ stdenv.mkDerivation rec {
|
|||||||
installed applications, retrieve addressbook/calendars/notes and bookmarks
|
installed applications, retrieve addressbook/calendars/notes and bookmarks
|
||||||
and synchronize music and video to the device. The library is in
|
and synchronize music and video to the device. The library is in
|
||||||
development since August 2007 with the goal to bring support for these
|
development since August 2007 with the goal to bring support for these
|
||||||
devices to the Linux Desktop.'';
|
devices to the Linux Desktop.
|
||||||
inherit (usbmuxd.meta) platforms maintainers;
|
'';
|
||||||
|
license = licenses.lgpl21Plus;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user