emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#50971: closed ([PATCH] gnu: Add mfgtools.)


From: GNU bug Tracking System
Subject: bug#50971: closed ([PATCH] gnu: Add mfgtools.)
Date: Thu, 02 Dec 2021 14:55:01 +0000

Your message dated Thu, 02 Dec 2021 15:53:56 +0100
with message-id <87y253ukfv.fsf@gnu.org>
and subject line Re: bug#50971: [PATCH] gnu: Add mfgtools.
has caused the debbugs.gnu.org bug report #50971,
regarding [PATCH] gnu: Add mfgtools.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
50971: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=50971
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- 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@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



--- End Message ---
--- Begin Message --- Subject: Re: bug#50971: [PATCH] gnu: Add mfgtools. Date: Thu, 02 Dec 2021 15:53:56 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
Hey,

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

This one is already on master.

Thanks,

Mathieu


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]