summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorJacob Hrbek <kreyren@rixotstudio.cz>2022-09-22 21:25:11 +0200
committerJulien Lepiller <julien@lepiller.eu>2022-09-22 21:33:38 +0200
commitf7a68436edb0bb1dd8a5dd0d65c38cb2fee16773 (patch)
treedc8055a5c2a9fe34ddb7c6b87c31bda56c4bf392 /gnu
parent5f9d9471c7ef522a04d9f197346c32d810afae81 (diff)
downloadguix-f7a68436edb0bb1dd8a5dd0d65c38cb2fee16773.tar.gz
gnu: Add idevicerestore.
* gnu/packages/libusb.scm (idevicerestore): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/libusb.scm23
1 files changed, 23 insertions, 0 deletions
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")