From f7a68436edb0bb1dd8a5dd0d65c38cb2fee16773 Mon Sep 17 00:00:00 2001 From: Jacob Hrbek Date: Thu, 22 Sep 2022 21:25:11 +0200 Subject: gnu: Add idevicerestore. * gnu/packages/libusb.scm (idevicerestore): New variable. Signed-off-by: Julien Lepiller --- gnu/packages/libusb.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/libusb.scm b/gnu/packages/libusb.scm index f0f4d32b5b..d864435829 100644 --- a/gnu/packages/libusb.scm +++ b/gnu/packages/libusb.scm @@ -43,6 +43,7 @@ #:use-module (guix build-system python) #:use-module (gnu packages autotools) #:use-module (gnu packages compression) + #:use-module (gnu packages curl) #:use-module (gnu packages gnupg) #:use-module (gnu packages gtk) #:use-module (gnu packages java) @@ -386,6 +387,28 @@ files and applications for iOS devices, it's written in C") communication to iBoot/iBSS found on Apple's iOS devices via USB.") (license license:lgpl2.1))) +(define-public idevicerestore + (package + (name "idevicerestore") + (version "1.0.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libimobiledevice/idevicerestore") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w7ywp77xc6v4hifi3j9ywrj447vv7fkwg2w26w0lq95f3bkblqr")))) + (build-system gnu-build-system) + (inputs (list libusb libirecovery libimobiledevice libzip curl zlib)) + (native-inputs (list autoconf automake libtool pkg-config)) + (home-page "https://libimobiledevice.org/") + (synopsis "CLI tool to restore firmware files to iOS devices") + (description "This utility is used to restore bricked or otherwise +broken iOS devices.") + (license license:lgpl3+))) + (define-public libplist (package (name "libplist") -- cgit v1.2.3