mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add simg2img.
* gnu/packages/android.scm (simg2img): New variable. Change-Id: I593420741293324ef880a44d31e58759ed0b9a03 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
This commit is contained in:
parent
b32a47f26c
commit
25589cc95f
1 changed files with 33 additions and 0 deletions
|
@ -13,6 +13,7 @@
|
|||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
|
||||
;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico@riseup.net>
|
||||
;;; Copyright © 2025 Jordan Moore <lockbox@struct.foo>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -1325,3 +1326,35 @@ Java bytecode, which simplifies the analysis of Android applications.")
|
|||
with Android devices using MTP. It also allows the Android device to be
|
||||
mounted via FUSE.")
|
||||
(license license:lgpl2.1+)))
|
||||
|
||||
(define-public simg2img
|
||||
(package
|
||||
(name "simg2img")
|
||||
(version "1.1.5")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/anestisb/android-simg2img")
|
||||
(commit version)))
|
||||
(sha256
|
||||
(base32
|
||||
"0drwvqxbhajka580j93z8ldckhjlpr0i84nh20krdpxcp54xvldh"))))
|
||||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
;; The Makefile uses PREFIX to set the installation prefix.
|
||||
(list #:make-flags
|
||||
#~(list
|
||||
(string-append "PREFIX=" (assoc-ref %outputs "out")))
|
||||
#:tests? #f ; no tests provided upstream
|
||||
#:phases
|
||||
;; There is no configure step.
|
||||
#~(modify-phases %standard-phases (delete 'configure))))
|
||||
(inputs (list zlib))
|
||||
(home-page "https://github.com/anestisb/android-simg2img")
|
||||
(synopsis "Convert Android sparse images to raw ext4 images")
|
||||
(description
|
||||
"This package provides a standalone port of AOSP's libsparse that converts
|
||||
Android sparse filesystem images into raw ext4 images, avoiding the need for
|
||||
the full Android build chain.")
|
||||
(license license:asl2.0)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue