From: phodina via Guix-patches via <guix-patches@gnu.org>
To: 50971@debbugs.gnu.org
Subject: [bug#50971] [PATCH] gnu: Add mfgtools.
Date: Sat, 02 Oct 2021 16:10:51 +0000 [thread overview]
Message-ID: <D9F5bqMfFHP7gvlskEoJ4CbTe5IeQOx2KaNyAFDe5OZ_lPNn2HJ2haDbR-c7OvRiDWSuW7tnFAIMc3KofwwvL-fwP4v9Mw9F_lrsedHU8dc=@protonmail.com> (raw)
* gnu/packages/embedded.scm (mfgtools): New variable.
diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index f388c11c3d..188e8b7ba3 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -9,6 +9,7 @@
;;; Copyright © 2020 Björn Höfling <bjoern.hoefling@bjoernhoefling.de>
;;; Copyright © 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
+;;; Copyright © 2021 Petr Hodina <phodina@protonmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -60,6 +61,7 @@
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages swig)
#:use-module (gnu packages texinfo)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages xorg)
#:use-module (srfi srfi-1))
@@ -566,6 +568,39 @@ SEGGER J-Link and compatible devices.")
language.")
(license license:bsd-2)))
+(define-public mfgtools
+(package
+ (name "mfgtools")
+ (version "1.4.139")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/NXPmicro/mfgtools")
+ (commit (string-append "uuu_" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1n42phkv1jsz9y70w0x23chnw6454cvybshc0ziy1sz5nzasrwjc"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:tests? #f ; no test suite
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-git-version
+ (lambda* _
+ (substitute* "libuuu/CMakeLists.txt"
+ (("sh -c.*") ,(string-append "echo '\\#define GIT_VERSION "
+ "\\\"libuuu_" version "\\\"' > ${gitversion_h}\n"))))))))
+ (native-inputs `(("pkg-config" ,pkg-config)))
+ (inputs `(("libzip" ,libzip)
+ ("zlib" ,zlib)
+ ("openssl" ,openssl)
+ ("libusb" ,libusb)))
+ (synopsis "NXP I.MX Universal Update Utility")
+ (description "Command line application that deploys image to NXP I.MX chip.")
+ (home-page "https://github.com/NXPmicro/mfgtools")
+ (license license:bsd-3)))
+
(define-public openocd
(let ((commit "9a877a83a1c8b1f105cdc0de46c5cbc4d9e8799e")
(revision "0"))
--
2.32.0
next reply other threads:[~2021-10-02 16:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-02 16:10 phodina via Guix-patches via [this message]
2021-12-02 14:53 ` bug#50971: [PATCH] gnu: Add mfgtools Mathieu Othacehe
2021-12-02 21:37 ` [bug#50971] " phodina via Guix-patches via
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='D9F5bqMfFHP7gvlskEoJ4CbTe5IeQOx2KaNyAFDe5OZ_lPNn2HJ2haDbR-c7OvRiDWSuW7tnFAIMc3KofwwvL-fwP4v9Mw9F_lrsedHU8dc=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=50971@debbugs.gnu.org \
--cc=phodina@protonmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.