From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id ONGXLIOWFmW3kAAAG6o9tA:P1 (envelope-from ) for ; Fri, 29 Sep 2023 11:18:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ONGXLIOWFmW3kAAAG6o9tA (envelope-from ) for ; Fri, 29 Sep 2023 11:18:59 +0200 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 8D00957556 for ; Fri, 29 Sep 2023 11:18:59 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=gQeWprce; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695979139; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wETUNZ0awq4HLb2Qaa8XGTbwJL1VkKwq6Gkgfpv58qY=; b=VwZJNoreJ3UfE62L43VtO3o7f1CswXydrigv2uAsEXrgCXxRYyJNcdYkLI/erQsgWxEec4 lTQYOVZkNZKKaTVvmIrExpnejvqg9tl9AuDf+BteahXrHXv/y/weQWtRTEMLlMa5ivTPcZ HuYl5pBKHq0/hkiX78O5zQ4Q8X6ugaQ9t4iu2AqqgN/6Hqxt/YVWY6RknPhfZ5k/BnoK43 Is/3dxNnrQlppQNCsKTW36NW47opc8TRLUsv9ILxay1bjfVBXzhswaKL1PBcBozSL286ar ImLxkBvxf9T/FvGHWfg2r8dQIIh6Kw7rbg8iuUa+/nJEJcpW0lD3SoOw1Q4BOA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695979139; a=rsa-sha256; cv=none; b=CzH+o8Jw1/6CwCbd3QS+ll8HOMfabTZlOPD9AoBtN0/tCPoDL1l/1XGOHktfGGRvI0dnXD /mZCJjfdlWwqiSxwz0x7q3v+PauYrNdTs0to6n91MeU0gLOqIO3ZBwWYqCvhmCfxfCxlo7 e9NfqIn9yteg+zoHZqcjHf47zAc6WzPKaC3246UYpxZbBJwKAw9Sx7gRvuBMv25Tp87BLx oS/rgP1ORXcuIMgyu9C0srVVKliA5fgNgvOToB5S02h8D+IuKf5L3A4F3k7HxQN+VOvmd3 GMLBOm0MFGi5EsbPcM6oOXYIWSXHLMhcGLUI+n3/dOX95kaZRuJ1Qr9mxQWEFQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=gQeWprce; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qm9dZ-0005eR-V1; Fri, 29 Sep 2023 05:18:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qm9dI-0005WA-PP for guix-patches@gnu.org; Fri, 29 Sep 2023 05:18:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qm9dE-0003vz-Se for guix-patches@gnu.org; Fri, 29 Sep 2023 05:17:59 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qm9dT-0004oV-Gw; Fri, 29 Sep 2023 05:18:11 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 23/23] gnu: Add unity. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 29 Sep 2023 09:18:11 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com X-Debbugs-Original-Xcc: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.169597907518263 (code B ref 66263); Fri, 29 Sep 2023 09:18:11 +0000 Received: (at 66263) by debbugs.gnu.org; 29 Sep 2023 09:17:55 +0000 Received: from localhost ([127.0.0.1]:55230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9dC-0004kQ-Pc for submit@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:55 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:44454) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9ce-0004gh-Qn for 66263@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:21 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-40651a72807so16441305e9.1 for <66263@debbugs.gnu.org>; Fri, 29 Sep 2023 02:17:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695979020; x=1696583820; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wETUNZ0awq4HLb2Qaa8XGTbwJL1VkKwq6Gkgfpv58qY=; b=gQeWprce7Q7IvgokD61y/5UWfC6+cy7nIgYrxplCllP7QaTOlBv1gsezpUdP4C/NTg sclEeJpaQwcRCpjcLp/VVllHQjOLzPJoIU3Dp6rESqTG4vp+WebynIZ1UOebkEn1dYtj 7V8l+lpwv+8RBKdnXp9hVGDpF2UGfcOZrqHajfdJs5kQLl910KVck9uUz+xjokgA9QB2 t5sB6iWixP2842p0XUZYBclKS/WFTc5ZPX3YQ8iZ6SZQ3mDxgcGba0XgVrHH0GoOJeHC euR8S3A9dwjT8JEvHgy3ovIIzQE/zIDpfc0CKRnhEC3x0DymTSWBnIX4yhQ5c3y9IQVh xaFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695979020; x=1696583820; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wETUNZ0awq4HLb2Qaa8XGTbwJL1VkKwq6Gkgfpv58qY=; b=rZ37Lno9reAq62Q2GDmMLcPfx6n78yjcb1+jgzxV0aGel8ucBuyB6ApBbRLrRwrAiY jc3rnov/2VCijxHW7C8VuyAG1GKJTNOUUppoKgCAt6LYgNUKgYtTxZXnhYZ0eU29sV/r hLrjjlsZc8VAOfY+ya0cSdSSMvm3vGRPV/L+Jk97A9ogF8acB7mc4b1JlPVPUrrPYmvd FCFwROB6RDairZ7kPB/JW0OUN1yMzatWgFtdukCrUhE5nvjaXOHbVur0SiK1iLDe0RC8 W/FL8H0fnLLl6Jlw8MFUR89V/UcMfxIa62VgcAri9Qq69rc5kSKy63LQuDRsrZexPxFs 6n4w== X-Gm-Message-State: AOJu0Yy9GO/CyGkcdETM6Sz0FIRNK7RDKPHdaCdDuMAAdL3LqcYpt01n gvbsPu2qfaozXBhQcXNoMrYnJsq4K+gA2jdhQLl6yw== X-Google-Smtp-Source: AGHT+IF2oZYBDOyATpEIZOCi88wzZJ4boy0BrIuaivKRNvp973vW4SB+CV8FwQTz06s5NP25A4rgOw== X-Received: by 2002:a1c:f709:0:b0:403:272:4414 with SMTP id v9-20020a1cf709000000b0040302724414mr3424673wmh.0.1695979020247; Fri, 29 Sep 2023 02:17:00 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id k15-20020a7bc40f000000b004013797efb6sm1020933wmi.9.2023.09.29.02.16.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:16:59 -0700 (PDT) Date: Fri, 29 Sep 2023 11:16:27 +0200 Message-Id: <20230929091627.7820-23-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929091627.7820-1-jean@foundationdevices.com> References: <20230929091627.7820-1-jean@foundationdevices.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.74 X-Spam-Score: -4.74 X-Migadu-Queue-Id: 8D00957556 X-TUID: Y8uyuTFeuXbE * gnu/packages/check.scm (unity): New variable. --- gnu/packages/check.scm | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 5af3b49280..db368663d4 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -87,6 +87,7 @@ (define-module (gnu packages check) #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages python-science) + #:use-module (gnu packages ruby) #:use-module (gnu packages texinfo) #:use-module (gnu packages time) #:use-module (gnu packages xml) @@ -3170,6 +3171,46 @@ (define-public unittest-cpp portable to just about any platform.") (license license:expat))) +(define-public unity + (let ((revision "0") + (commit "2775e1b05875cf45afce7153e36af76ddbfdba26")) + (package + (name "unity") + (version (git-version "2.5.4" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ThrowTheSwitch/Unity") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0y803ibjkqvj1fil0a0hzs7x0m98amm5ibwl8xxk3p8bj9wgdps1")))) + (build-system meson-build-system) + (arguments + (list #:configure-flags #~(list "-Dextension_fixture=true" + "-Dextension_memory=true" + "-Dsupport_double=true") + #:phases #~(modify-phases %standard-phases + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (with-directory-excursion "../source/test" + (invoke "rake" "all")))))))) + (native-inputs + (append (list python) + (if (not (%current-target-system)) + (list ruby + ruby-rake + ruby-rspec + ruby-rubocop) + '()))) + (home-page "http://throwtheswitch.org") + (synopsis "Unit testing framework for C") + (description "Unity is a lightweight unit testing framework for C. It was +designed to allow running tests on embedded devices and on a host computer.") + (license license:expat)))) + (define-public libfaketime (package (name "libfaketime") -- 2.34.1