summary refs log tree commit diff
path: root/gnu/packages/libusb.scm
diff options
context:
space:
mode:
authorJacob Hrbek <kreyren@rixotstudio.cz>2022-09-22 21:18:35 +0200
committerJulien Lepiller <julien@lepiller.eu>2022-09-22 21:21:03 +0200
commit5f9d9471c7ef522a04d9f197346c32d810afae81 (patch)
tree67e6f8873501fe7bc7a4e58e5eec2076c7aae936 /gnu/packages/libusb.scm
parent493b6f6d145a86e528b01701a25a48c7bfa1b3e3 (diff)
downloadguix-5f9d9471c7ef522a04d9f197346c32d810afae81.tar.gz
gnu: Add libirecovery.
* gnu/packages/libusb.scm (libirecovery): New variable.

Signed-off-by: Julien Lepiller <julien@lepiller.eu>
Diffstat (limited to 'gnu/packages/libusb.scm')
-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 6183598829..f0f4d32b5b 100644
--- a/gnu/packages/libusb.scm
+++ b/gnu/packages/libusb.scm
@@ -51,6 +51,7 @@
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages readline)
   #:use-module (gnu packages tls)
   #:use-module (gnu packages xiph))
 
@@ -363,6 +364,28 @@ I2C and SPI devices attached to the USB Hub.")
 files and applications for iOS devices, it's written in C")
     (license license:gpl2)))
 
+(define-public libirecovery
+  (package
+    (name "libirecovery")
+    (version "1.0.0")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/libimobiledevice/libirecovery")
+                     (commit version)))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "0p9ncqnz5kb7qisw00ynvasw1hax5qx241h9nwppi2g544i9lbnr"))))
+    (build-system gnu-build-system)
+    (inputs (list readline libusb))
+    (native-inputs (list autoconf automake libtool pkg-config))
+    (home-page "https://libimobiledevice.org/")
+    (synopsis "Communication library with iBoot/iBSS of iOS devices via USB")
+    (description "Libirecovery is a cross-platform library which implements
+communication to iBoot/iBSS found on Apple's iOS devices via USB.")
+    (license license:lgpl2.1)))
+
 (define-public libplist
   (package
     (name "libplist")