Merge pull request #105846 from rb2k/update_idevicerestore

This commit is contained in:
Sandro 2020-12-07 10:20:00 +01:00 committed by GitHub
commit d8366558b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 34 additions and 30 deletions

View File

@ -1,5 +1,5 @@
{ stdenv, lib, fetchurl, gettext, perlPackages, intltool, pkgconfig, glib, { stdenv, lib, fetchurl, perlPackages, intltool, autoreconfHook,
libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib, pkg-config, glib, libxml2, sqlite, zlib, sg3_utils, gdk-pixbuf, taglib,
libimobiledevice, libimobiledevice,
monoSupport ? false, mono, gtk-sharp-2_0 monoSupport ? false, mono, gtk-sharp-2_0
}: }:
@ -15,11 +15,15 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
preConfigure = "configureFlagsArray=( --with-udev-dir=$out/lib/udev )"; postPatch = ''
# support libplist 2.2
substituteInPlace configure.ac --replace 'libplist >= 1.0' 'libplist-2.0 >= 2.2'
'';
configureFlags = [ configureFlags = [
"--without-hal" "--without-hal"
"--enable-udev" "--enable-udev"
"--with-udev-dir=${placeholder "out"}/lib/udev"
] ++ lib.optionals monoSupport [ "--with-mono" ]; ] ++ lib.optionals monoSupport [ "--with-mono" ];
dontStrip = true; dontStrip = true;
@ -27,7 +31,7 @@ stdenv.mkDerivation rec {
propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils propagatedBuildInputs = [ glib libxml2 sqlite zlib sg3_utils
gdk-pixbuf taglib libimobiledevice ]; gdk-pixbuf taglib libimobiledevice ];
nativeBuildInputs = [ gettext intltool pkgconfig ] nativeBuildInputs = [ autoreconfHook intltool pkg-config ]
++ (with perlPackages; [ perl XMLParser ]) ++ (with perlPackages; [ perl XMLParser ])
++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ]; ++ lib.optionals monoSupport [ mono gtk-sharp-2_0 ];

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libimobiledevice"; pname = "libimobiledevice";
version = "2020-01-20"; version = "1.3.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = pname; owner = pname;
repo = pname; repo = pname;
rev = "61babf5f54e7734ebf3044af4c6294524d4b29b5"; rev = version;
sha256 = "02dnq6xza72li52kk4p2ak0gq2js3ssfp2fpjlgsv0bbn5mkg2hi"; sha256 = "1jkq3hpg4n5a6s1k618ib0s80pwf00nlfcby7xckysq8mnd2pp39";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -5,13 +5,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libirecovery"; pname = "libirecovery";
version = "2020-01-14"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libimobiledevice"; owner = "libimobiledevice";
repo = pname; repo = pname;
rev = "10a1f8dd11a11a0b8980fbf26f11e3ce74e7a923"; rev = version;
sha256 = "1v5c9dbbkrsplj1zkcczzm0i31ar3wcx6fpxb0pi4dsgj8846aic"; sha256 = "0p9ncqnz5kb7qisw00ynvasw1hax5qx241h9nwppi2g544i9lbnr";
}; };
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libplist"; pname = "libplist";
version = "2019-04-04"; version = "2.2.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libimobiledevice"; owner = "libimobiledevice";
repo = pname; repo = pname;
rev = "42bb64ba966082b440cb68cbdadf317f44710017"; rev = version;
sha256 = "19yw80yblq29i2jx9yb7bx0lfychy9dncri3fk4as35kq5bf26i8"; sha256 = "1vxhpjxniybqsg5wcygmdmr5dv7p2zb34dqnd3bi813rnnzsdjm6";
}; };
outputs = ["bin" "dev" "out" ] ++ stdenv.lib.optional enablePython "py"; outputs = ["bin" "dev" "out" ] ++ stdenv.lib.optional enablePython "py";

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "libusbmuxd"; pname = "libusbmuxd";
version = "2019-03-23"; version = "2.0.2";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libimobiledevice"; owner = "libimobiledevice";
repo = pname; repo = pname;
rev = "873252dc8b4e469c7dc692064ac616104fca5f65"; rev = version;
sha256 = "0qx3q0n1f2ajfm3vnairikayzln6iyb2y0i7sqfl8mj45ahl6wyj"; sha256 = "139pzsnixkck6ly1q6p0diqr0hgd0mx0pr4xx1jamm3f3656kpf9";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ifuse"; pname = "ifuse";
version = "2018-10-08"; version = "1.1.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libimobiledevice"; owner = "libimobiledevice";
repo = pname; repo = pname;
rev = "e75d32c34d0e8b80320f0a007d5ecbb3f55ef7f0"; rev = version;
sha256 = "1b9w2i0sliswlkkb890l9i0rxrf631xywxf8ihygfmjdsfw47h1m"; sha256 = "1r12y3h1j7ikkwk874h9969kr4ksyamvrwywx19ml6rsr01arw84";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig fuse usbmuxd libimobiledevice ]; nativeBuildInputs = [ autoreconfHook pkgconfig fuse usbmuxd libimobiledevice ];

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "ideviceinstaller"; pname = "ideviceinstaller";
version = "2018-10-01"; version = "1.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libimobiledevice"; owner = "libimobiledevice";
repo = pname; repo = pname;
rev = "f14def7cd9303a0fe622732fae9830ae702fdd7c"; rev = version;
sha256 = "1biwhbldvgdhn8ygp7w79ca0rivzdjpykr76pyhy7r2fa56mrwq8"; sha256 = "1xp0sjgfx2z19x9mxihn18ybsmrnrcfc55zbh5a44g3vrmagmlzz";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig usbmuxd libimobiledevice libzip ]; nativeBuildInputs = [ autoreconfHook pkgconfig usbmuxd libimobiledevice libzip ];
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
and enumerate installed or archived apps. and enumerate installed or archived apps.
''; '';
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ aristid infinisil ]; maintainers = with maintainers; [ aristid infinisil ];
}; };
} }

View File

@ -9,13 +9,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "idevicerestore"; pname = "idevicerestore";
version = "2019-12-26"; version = "1.0.0";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libimobiledevice"; owner = "libimobiledevice";
repo = pname; repo = pname;
rev = "8207daaa2ac3cb3a5107aae6aefee8ecbe39b6d4"; rev = version;
sha256 = "1jz72bzk1fh12bs65pv06l85135hgfz1aqnbb084bvqcpj4gl40h"; sha256 = "1w7ywp77xc6v4hifi3j9ywrj447vv7fkwg2w26w0lq95f3bkblqr";
}; };
nativeBuildInputs = [ nativeBuildInputs = [

View File

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "usbmuxd"; pname = "usbmuxd";
version = "2019-11-11"; version = "1.1.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "libimobiledevice"; owner = "libimobiledevice";
repo = pname; repo = pname;
rev = "9af2b12552693a47601347e1eafc1e94132d727e"; rev = version;
sha256 = "0w8mf2wfpqijg882vhb8xarlp6zja23xf0b59z5zi774pnpjbqvj"; sha256 = "0a2xgrb4b3ndam448z74wh1267nmrz1wcbpx4xz86pwbdc93snab";
}; };
nativeBuildInputs = [ autoreconfHook pkgconfig ]; nativeBuildInputs = [ autoreconfHook pkgconfig ];
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
in parallel. The higher-level layers are handled by libimobiledevice. in parallel. The higher-level layers are handled by libimobiledevice.
''; '';
license = licenses.gpl2Plus; license = licenses.gpl2Plus;
platforms = platforms.linux; platforms = platforms.linux ++ platforms.darwin;
maintainers = with maintainers; [ infinisil ]; maintainers = with maintainers; [ infinisil ];
}; };
} }