From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id IM9pHyLUHmXU9QAAauVa8A:P1 (envelope-from ) for ; Thu, 05 Oct 2023 17:20:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id IM9pHyLUHmXU9QAAauVa8A (envelope-from ) for ; Thu, 05 Oct 2023 17:20:02 +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 425D8306E2 for ; Thu, 5 Oct 2023 17:20:02 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jSfprxRl; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1696519202; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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=7KcScT9ID2GlXDaqaFA3CI4leRzxkbcnGRzp3TCNV7k=; b=sykjzAiuilqP/zTbNapb/98OUggkMQlwfTVhbYmlZ7LWkUXpQo9asxrFzpFtWq90eMnMm4 iwrB5J8ndwhmSg81o3kcPsmaL6tJLnmM43QSEgNnPA+u+YIT7xu6D3QxwuViZCyyAAC/+M f1WG3iCiy/pHeT6BiMHfz/rzAvRkay8lrOCjWoYplOssw3Fydpa8CgKb8GlcKw4jvZnpOD GUkxguiRNkfMYgwg8ZLBGTrWBIpTm2wMjMFPNO6IfnKKIlvADqFAtKZORFZ1/bxH+SNjqU 2Q2AbmbIIrbnvd1ajjrWt24PBog7VVKogcPvmKTMmHoVCvm/iFDBjW6LZMFIuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=jSfprxRl; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1696519202; a=rsa-sha256; cv=none; b=Jzx27Dy9zQFO5Gdpn2F06OML94l/PowlbIxF9sASVNqv3HMDtAVhbbWaDYmzeN+WO8ptfR lFteLbBT6+IUdDYkNgxZhGkm6c9n01b9jXBko9uNOoiqZshCuoxkpJ7MpQ4kyrW3Oj72k1 DKJUSkep/PvVZQ2pJKItGqKU2Vje7uwQLlZdXhYaWn0Yve/SZqsrFsnWgTZOIbO7Y0NIbf JZpczA2y72l2PUe8ZiZ7qVsjsKVjwF/7PyFfzJwmXGSftBJRw2O3ws4R1uvDktHiHm9kgj k17zRWfzGoit8uSbmJ7XLpSYXrjbnH09pToIPJdLDELdc5QNgDIYGfK2yFR29g== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qoQ8f-00060c-Q7; Thu, 05 Oct 2023 11:19:45 -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 1qoQ8e-0005zr-Bw for guix-patches@gnu.org; Thu, 05 Oct 2023 11:19:44 -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 1qoQ8e-0003Mm-3r for guix-patches@gnu.org; Thu, 05 Oct 2023 11:19:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qoQ8w-00045q-CM for guix-patches@gnu.org; Thu, 05 Oct 2023 11:20:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 23/23] gnu: Add unity. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Oct 2023 15:20:02 +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: Jean-Pierre De Jesus DIAZ Cc: 66263@debbugs.gnu.org, vagrant@debian.org, efraim@flashner.co.il Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.169651918215690 (code B ref 66263); Thu, 05 Oct 2023 15:20:02 +0000 Received: (at 66263) by debbugs.gnu.org; 5 Oct 2023 15:19:42 +0000 Received: from localhost ([127.0.0.1]:48242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoQ8c-000450-E7 for submit@debbugs.gnu.org; Thu, 05 Oct 2023 11:19:42 -0400 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:57850) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qoQ8Z-00044i-8u for 66263@debbugs.gnu.org; Thu, 05 Oct 2023 11:19:40 -0400 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3af65455e7fso757698b6e.3 for <66263@debbugs.gnu.org>; Thu, 05 Oct 2023 08:19:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1696519155; x=1697123955; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=7KcScT9ID2GlXDaqaFA3CI4leRzxkbcnGRzp3TCNV7k=; b=jSfprxRlVlXolTNoxP43YYruuN2SirPbUNiRmbBWbp5F6NdfMYLgyWda/1ftnQuEY6 T/Jfg/JILEdQ2Nc31CMpMmYTwPQaTPrlV+wwIEqWvSLwmo8iNwkEg4fv0aYcKFa878bK 5lDUtgMTJmJaQFj0tlQPLf6qgBFovhveiAdFThmQYyjeQ8fE+MRNhs/7pHlEeQrhhkH2 U+wr8xkMt0OUjLouWTzdcFnP/eAP4e/UX1MB4mKRWzNC5X+oN5oVSZstirfVXKmFV6GK XvlNcGHpt7O5fLJalUzoZcpCdw61qa2HbedJFqnnSXrzRz4E6Ey7Klk4gKRB4noM1y/Q sECA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696519155; x=1697123955; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=7KcScT9ID2GlXDaqaFA3CI4leRzxkbcnGRzp3TCNV7k=; b=PQRaswESnoYDVIhBP2Ya63sJNBBkpTOsGQ788bK2cnO6VbhH9bTYlyAWWxb3AQY2iO 4YuG6ZU6wPJBCBxf+7EE+Bto8ZqS+XMIBa6bauDHGdgQimAoY3AQS3u8IP1/PoE1D9mc qWfsetNypiU3+hyagrhiUQ4uty1lrdg098sT8RaezuEVzglvtK9BYRDTTYBMt+HyaHl0 Esd5Qnm4cnmKdGYs1YGAPta9mkikepnxfXIcjVWsuiIvnvAXwkqIsMr4a53XON5fuZhL u+b9185rC60QWMO+sA1PEud2fci/IexdxXZ+w5hztQywE6BQfvAc1MlVXqFnmb/p17I3 gaxA== X-Gm-Message-State: AOJu0Yyj2oddr1Q3ixWWjR/jOOlLCrI45oHpQRgLzB2yjJ9k1zwzak0Z u6GIzYeWhvj+5/HPqS8G1t0= X-Google-Smtp-Source: AGHT+IGtUedZoGXOshw8g9xX/jOgsxE3vMHs6ZdbtZiia8CHKy7rF6t+c06mzw8FGSpdymAdjP84kA== X-Received: by 2002:a05:6808:2a47:b0:3ad:fc3f:1202 with SMTP id fa7-20020a0568082a4700b003adfc3f1202mr5253917oib.53.1696519155062; Thu, 05 Oct 2023 08:19:15 -0700 (PDT) Received: from hurd (dsl-151-116.b2b2c.ca. [66.158.151.116]) by smtp.gmail.com with ESMTPSA id d1-20020ac851c1000000b004197d6d97c4sm549453qtn.24.2023.10.05.08.19.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 08:19:14 -0700 (PDT) From: Maxim Cournoyer In-Reply-To: <20230929091627.7820-23-jean@foundationdevices.com> (Jean-Pierre De Jesus DIAZ's message of "Fri, 29 Sep 2023 11:16:27 +0200") References: <20230929091627.7820-1-jean@foundationdevices.com> <20230929091627.7820-23-jean@foundationdevices.com> Date: Thu, 05 Oct 2023 11:19:13 -0400 Message-ID: <87mswxp05q.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -5.09 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: 425D8306E2 X-Spam-Score: -5.09 X-TUID: jt3iGlbIkGE0 Hi, Jean-Pierre De Jesus DIAZ writes: > * 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) > + '()))) I believe these are test-related inputs? Should the tests be disabled when cross-compiling? Otherwise it'd probably fail, no? -- Thanks, Maxim