all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#50971] [PATCH] gnu: Add mfgtools.
@ 2021-10-02 16:10 phodina via Guix-patches via
  2021-12-02 14:53 ` bug#50971: " Mathieu Othacehe
  0 siblings, 1 reply; 3+ messages in thread
From: phodina via Guix-patches via @ 2021-10-02 16:10 UTC (permalink / raw)
  To: 50971

* 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




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#50971: [PATCH] gnu: Add mfgtools.
  2021-10-02 16:10 [bug#50971] [PATCH] gnu: Add mfgtools phodina via Guix-patches via
@ 2021-12-02 14:53 ` Mathieu Othacehe
  2021-12-02 21:37   ` [bug#50971] " phodina via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Mathieu Othacehe @ 2021-12-02 14:53 UTC (permalink / raw)
  To: phodina; +Cc: 50971-done


Hey,

> * gnu/packages/embedded.scm (mfgtools): New variable.

This one is already on master.

Thanks,

Mathieu




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#50971] [PATCH] gnu: Add mfgtools.
  2021-12-02 14:53 ` bug#50971: " Mathieu Othacehe
@ 2021-12-02 21:37   ` phodina via Guix-patches via
  0 siblings, 0 replies; 3+ messages in thread
From: phodina via Guix-patches via @ 2021-12-02 21:37 UTC (permalink / raw)
  To: Mathieu Othacehe; +Cc: 50971-done

Hi,

On Thursday, December 2nd, 2021 at 3:53 PM, Mathieu Othacehe <othacehe@gnu.org> wrote:

> Hey,
>
> > -   gnu/packages/embedded.scm (mfgtools): New variable.
>
> This one is already on master.
>
> Thanks,
>
> Mathieu

Thanks for upstreaming - well in fact the name is uuu.

Petr




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-02 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-02 16:10 [bug#50971] [PATCH] gnu: Add mfgtools phodina via Guix-patches via
2021-12-02 14:53 ` bug#50971: " Mathieu Othacehe
2021-12-02 21:37   ` [bug#50971] " phodina via Guix-patches via

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.