GNU bug report logs - #50971
[PATCH] gnu: Add mfgtools.

Previous Next

Package: guix-patches;

Reported by: phodina <phodina <at> protonmail.com>

Date: Sat, 2 Oct 2021 16:12:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50971 in the body.
You can then email your comments to 50971 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#50971; Package guix-patches. (Sat, 02 Oct 2021 16:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to phodina <phodina <at> protonmail.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 02 Oct 2021 16:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: "guix-patches <at> gnu.org" <guix-patches <at> gnu.org>
Subject: [PATCH] gnu: Add mfgtools.
Date: Sat, 02 Oct 2021 16:10:51 +0000
* 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 <at> bjoernhoefling.de>
 ;;; Copyright © 2021 Julien Lepiller <julien <at> lepiller.eu>
 ;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith <at> outlook.com>
+;;; Copyright © 2021 Petr Hodina <phodina <at> 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




Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Thu, 02 Dec 2021 14:55:01 GMT) Full text and rfc822 format available.

Notification sent to phodina <phodina <at> protonmail.com>:
bug acknowledged by developer. (Thu, 02 Dec 2021 14:55:01 GMT) Full text and rfc822 format available.

Message #10 received at 50971-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: phodina <phodina <at> protonmail.com>
Cc: 50971-done <at> debbugs.gnu.org
Subject: Re: bug#50971: [PATCH] gnu: Add mfgtools.
Date: Thu, 02 Dec 2021 15:53:56 +0100
Hey,

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

This one is already on master.

Thanks,

Mathieu




Information forwarded to guix-patches <at> gnu.org:
bug#50971; Package guix-patches. (Thu, 02 Dec 2021 21:38:02 GMT) Full text and rfc822 format available.

Message #13 received at 50971-done <at> debbugs.gnu.org (full text, mbox):

From: phodina <phodina <at> protonmail.com>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 50971-done <at> debbugs.gnu.org
Subject: Re: bug#50971: [PATCH] gnu: Add mfgtools.
Date: Thu, 02 Dec 2021 21:37:33 +0000
Hi,

On Thursday, December 2nd, 2021 at 3:53 PM, Mathieu Othacehe <othacehe <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 31 Dec 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 115 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.