From: Efraim Flashner <efraim@flashner.co.il>
To: 32263@debbugs.gnu.org
Cc: Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#32263] [PATCH 4/8] gnu: Add python-androguard.
Date: Tue, 24 Jul 2018 21:51:11 +0300 [thread overview]
Message-ID: <20180724185115.19376-4-efraim@flashner.co.il> (raw)
In-Reply-To: <20180724185115.19376-1-efraim@flashner.co.il>
* gnu/packages/android.scm (python-androguard): New variable.
---
gnu/packages/android.scm | 50 +++++++++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index 7618c0e1f..2b3db50e1 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -6,6 +6,7 @@
;;; Copyright © 2017 Hartmut Goebel <h.goebel@crazy-compilers.com>
;;; Copyright © 2017 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -37,10 +38,12 @@
#:use-module (gnu packages gnupg)
#:use-module (gnu packages pcre)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-crypto)
#:use-module (gnu packages selinux)
#:use-module (gnu packages ssh)
- #:use-module (gnu packages version-control)
#:use-module (gnu packages tls)
+ #:use-module (gnu packages version-control)
+ #:use-module (gnu packages xdisorg)
#:use-module (gnu packages linux))
(define-public android-make-stub
@@ -807,3 +810,48 @@ script that you can put anywhere in your path.")
Boot Images. @code{abootimg} can work directly on block devices, or, the
safest way, on a file image.")
(license license:gpl2+)))
+
+(define-public python-androguard
+ (package
+ (name "python-androguard")
+ (version "3.2.1")
+ (source
+ (origin
+ ;; The pypi release doesn't have the tests, but the tests use
+ ;; packaged binaries, so we skip them.
+ (method url-fetch)
+ (uri (pypi-uri "androguard" version))
+ (sha256
+ (base32
+ "0ndsw00pkyda4i2s3wi5ap8gbk6a9d23xhhxpdbk02padv8sxkfv"))))
+ (build-system python-build-system)
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ ;; Adapted from .travis.yml
+ (lambda _
+ (invoke "nosetests" "--with-coverage" "--with-timer"
+ "--timer-top-n" "50"))))))
+ (native-inputs
+ `(("python-codecov" ,python-codecov)
+ ("python-coverage" ,python-coverage)
+ ("python-mock" ,python-mock)
+ ("python-nose" ,python-nose)
+ ("python-nose-timer" ,python-nose-timer)))
+ (propagated-inputs
+ `(("python-asn1crypto" ,python-asn1crypto)
+ ("python-colorama" ,python-colorama)
+ ("python-future" ,python-future)
+ ("python-ipython" ,python-ipython)
+ ("python-lxml" ,python-lxml)
+ ("python-matplotlib" ,python-matplotlib)
+ ("python-networkx" ,python-networkx)
+ ("python-pygments" ,python-pygments)
+ ("python-pyperclip" ,python-pyperclip)))
+ (home-page "https://github.com/androguard/androguard")
+ (synopsis "Python tool to play with Android files")
+ (description
+ "Androguard is a full Python tool to play with Android files. It is
+useful for reverse engineering, analysis of Android applications and more.")
+ (license license:asl2.0)))
--
2.18.0
next prev parent reply other threads:[~2018-07-24 18:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-24 18:48 [bug#32263] [PATCH 0/8] Add fdroidserver Efraim Flashner
2018-07-24 18:51 ` [bug#32263] [PATCH 1/8] gnu: Add python-docker-pycreds Efraim Flashner
2018-07-24 18:51 ` [bug#32263] [PATCH 2/8] gnu: Add python-pyperclip Efraim Flashner
2018-07-29 13:37 ` Ludovic Courtès
2018-07-24 18:51 ` [bug#32263] [PATCH 3/8] gnu: Add python-codecov Efraim Flashner
2018-07-29 13:41 ` Ludovic Courtès
2018-07-29 16:52 ` Efraim Flashner
2018-07-24 18:51 ` Efraim Flashner [this message]
2018-07-29 13:42 ` [bug#32263] [PATCH 4/8] gnu: Add python-androguard Ludovic Courtès
2018-07-24 18:51 ` [bug#32263] [PATCH 5/8] gnu: virtualization.scm: Use license prefix Efraim Flashner
2018-07-29 13:42 ` Ludovic Courtès
2018-07-24 18:51 ` [bug#32263] [PATCH 6/8] gnu: Add python-vagrant Efraim Flashner
2018-07-29 13:43 ` Ludovic Courtès
2018-07-24 18:51 ` [bug#32263] [PATCH 7/8] gnu: python-docker-py: Update to 1.10.6 Efraim Flashner
2018-07-29 13:43 ` Ludovic Courtès
2018-07-24 18:51 ` [bug#32263] [PATCH 8/8] gnu: Add fdroidserver Efraim Flashner
2018-07-29 13:45 ` Ludovic Courtès
2018-07-29 13:36 ` [bug#32263] [PATCH 1/8] gnu: Add python-docker-pycreds Ludovic Courtès
2018-07-29 17:11 ` bug#32263: fdroidserver merged Efraim Flashner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180724185115.19376-4-efraim@flashner.co.il \
--to=efraim@flashner.co.il \
--cc=32263@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).