Merge pull request #105722 from rb2k/idevicerestore_darwin
idevicerestore: Add darwin build support.
This commit is contained in:
commit
96f34a8f99
@ -52,7 +52,7 @@ stdenv.mkDerivation rec {
|
||||
devices to the Linux Desktop.
|
||||
'';
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ infinisil ];
|
||||
};
|
||||
}
|
||||
|
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
license = licenses.lgpl21;
|
||||
# Upstream description says it works on more platforms, but packager hasn't tried that yet
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ nh2 ];
|
||||
};
|
||||
}
|
||||
|
@ -36,6 +36,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://github.com/libimobiledevice/libplist";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = with maintainers; [ infinisil ];
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
};
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ stdenv.mkDerivation rec {
|
||||
description = "A client library to multiplex connections from and to iOS devices";
|
||||
homepage = "https://github.com/libimobiledevice/libusbmuxd";
|
||||
license = licenses.lgpl21Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ infinisil ];
|
||||
};
|
||||
}
|
||||
|
@ -4,6 +4,7 @@
|
||||
, libirecovery
|
||||
, libzip
|
||||
, libusbmuxd
|
||||
, IOKit
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -31,7 +32,7 @@ stdenv.mkDerivation rec {
|
||||
# Not listing other dependencies specified in
|
||||
# https://github.com/libimobiledevice/idevicerestore/blob/8a882038b2b1e022fbd19eaf8bea51006a373c06/README#L20
|
||||
# because they are inherited `libimobiledevice`.
|
||||
];
|
||||
] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/libimobiledevice/idevicerestore";
|
||||
@ -51,8 +52,8 @@ stdenv.mkDerivation rec {
|
||||
This will download and restore a device to the latest firmware available.
|
||||
'';
|
||||
license = licenses.lgpl21Plus;
|
||||
# configure.ac suggests it should work for darwin and mingw as well but not tried yet
|
||||
platforms = platforms.linux;
|
||||
# configure.ac suggests it should work for mingw as well but not tried yet
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = with maintainers; [ nh2 ];
|
||||
};
|
||||
}
|
||||
|
@ -4752,7 +4752,9 @@ in
|
||||
|
||||
ifuse = callPackage ../tools/filesystems/ifuse { };
|
||||
ideviceinstaller = callPackage ../tools/misc/ideviceinstaller { };
|
||||
idevicerestore = callPackage ../tools/misc/idevicerestore { };
|
||||
idevicerestore = callPackage ../tools/misc/idevicerestore {
|
||||
inherit (darwin) IOKit;
|
||||
};
|
||||
|
||||
inherit (callPackages ../tools/filesystems/irods rec {
|
||||
stdenv = llvmPackages.libcxxStdenv;
|
||||
|
Loading…
Reference in New Issue
Block a user