From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cjGiC+aEWGFvTQEAgWs5BA (envelope-from ) for ; Sat, 02 Oct 2021 18:12:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qCG3BuaEWGEqOwAA1q6Kng (envelope-from ) for ; Sat, 02 Oct 2021 16:12:22 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id DC0AF2F67E for ; Sat, 2 Oct 2021 18:12:21 +0200 (CEST) Received: from localhost ([::1]:37324 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWhcZ-0002qp-9l for larch@yhetil.org; Sat, 02 Oct 2021 12:12:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWhcI-0002qQ-Et for guix-patches@gnu.org; Sat, 02 Oct 2021 12:12:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:48822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWhcI-0003H0-6C for guix-patches@gnu.org; Sat, 02 Oct 2021 12:12:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mWhcI-0007WP-1v for guix-patches@gnu.org; Sat, 02 Oct 2021 12:12:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50971] [PATCH] gnu: Add mfgtools. Resent-From: phodina Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 02 Oct 2021 16:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50971 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50971@debbugs.gnu.org X-Debbugs-Original-To: "guix-patches@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.163319106928851 (code B ref -1); Sat, 02 Oct 2021 16:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Oct 2021 16:11:09 +0000 Received: from localhost ([127.0.0.1]:60368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWhbQ-0007VG-WE for submit@debbugs.gnu.org; Sat, 02 Oct 2021 12:11:09 -0400 Received: from lists.gnu.org ([209.51.188.17]:40302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mWhbO-0007V5-Ls for submit@debbugs.gnu.org; Sat, 02 Oct 2021 12:11:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWhbO-0002VL-GY for guix-patches@gnu.org; Sat, 02 Oct 2021 12:11:06 -0400 Received: from mail-40133.protonmail.ch ([185.70.40.133]:24934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWhbK-0002SC-AH for guix-patches@gnu.org; Sat, 02 Oct 2021 12:11:05 -0400 Date: Sat, 02 Oct 2021 16:10:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1633191055; bh=0Lp+TdYmivlyPNZ6RO2+TzsChaElJz6AbWYPjrL675E=; h=Date:To:From:Reply-To:Subject:From; b=q71ZCb00iwA6CZIrfNf94uR4FdEnumAsX+vDJTuyCN3wEeVz4AtxniEt9cDMAaDbN 7nmMlxBVFfenhUK421t020LuSrgtZDjduOQTQDq/d6zhkjg2aXfA1qlI3/GHxmoHvN CyVEq+EZDhaBNEfydX3u8ZfhjlnSE+oo3yq5WElM= Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.133; envelope-from=phodina@protonmail.com; helo=mail-40133.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: phodina X-ACL-Warn: , phodina via Guix-patches From: phodina via Guix-patches via X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633191141; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0Lp+TdYmivlyPNZ6RO2+TzsChaElJz6AbWYPjrL675E=; b=MrvSTltBlFoU7wDV7xbgnI7XtQZaXpl/95OOuYVbDLu6cdPXMb/jay8andI484iAQZKG2p Qwm4KjfDEYNfuEfOiBIbBCeaGaW/dmNkO9oC2R4OjhWmRoqon6R3OlNF+lDtvQG/NvJyyY PMnu35NWLTSas8MCfXxeKlqo6J3AH8SdyId6Lsb+YOc2cQwyZ4VB+602y2kvRItmRuGxT5 cU3dbKY0wRKYIwlzvyiWVzap7fS19jzwxjIG7SYpEU3ZlzpVEUQ6HAyPnPg7aBHSamYwgT 4S0PpvlEawdxtotJ9PkexqxiOXVMw/pEORAcOlLSAK9vRlVciIqL/a1nU34Drg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633191141; a=rsa-sha256; cv=none; b=Dx8AB5tJBzpNVOn9cxkX8e2NV3kdJlSg0mYjtUI0criqR8fbHfKARed9RGb961nw+U3Wxb xUHScLgq+fTi3wNep2YMT1DyT10mUSXDZRW2hcJKMZuVtEtiHQz37WVwupdO3c/SAtnqBi i1M14uf3WZLGj2cfIRSEEwDYcUuHR2p2e/+TUKq0XwKwYgFQ6MhAXaXw/8tDyczRU9dcvC a8E8GbxEpjwIDnyJPOvheYHsydy9e530iQFOXD3ga6V2oCdPl45DpjVM3inuBXlUReplf+ JQ5+68V69YxV/l6p1kHozE27tnCFbufuY+A87WS1rGHV/PlmQrM59wyBk4BNKg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=q71ZCb00; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.90 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail header.b=q71ZCb00; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: DC0AF2F67E X-Spam-Score: -2.90 X-Migadu-Scanner: scn0.migadu.com X-TUID: scZ/g0jcnMi9 * 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 =C2=A9 2020 Bj=C3=B6rn H=C3=B6fling ;;; Copyright =C2=A9 2021 Julien Lepiller ;;; Copyright =C2=A9 2021 Morgan Smith +;;; Copyright =C2=A9 2021 Petr Hodina ;;; ;;; 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 ch= ip.") + (home-page "https://github.com/NXPmicro/mfgtools") + (license license:bsd-3))) + (define-public openocd (let ((commit "9a877a83a1c8b1f105cdc0de46c5cbc4d9e8799e") (revision "0")) -- 2.32.0