From patchwork Tue Jun 28 20:34:23 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "\\(" X-Patchwork-Id: 40386 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ECEA027BBEB; Tue, 28 Jun 2022 21:35:28 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 083E727BBE9 for ; Tue, 28 Jun 2022 21:35:28 +0100 (BST) Received: from localhost ([::1]:46706 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6Hvj-00085Q-6e for patchwork@mira.cbaines.net; Tue, 28 Jun 2022 16:35:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33658) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6HvL-000856-PT for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6HvL-0002zo-HE for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6HvL-0002s3-Ez for guix-patches@gnu.org; Tue, 28 Jun 2022 16:35:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56286] [PATCH v2 3/6] gnu: Add kyua. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Jun 2022 20:35:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56286 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56286@debbugs.gnu.org Cc: "\(" Received: via spool by 56286-submit@debbugs.gnu.org id=B56286.165644848610972 (code B ref 56286); Tue, 28 Jun 2022 20:35:03 +0000 Received: (at 56286) by debbugs.gnu.org; 28 Jun 2022 20:34:46 +0000 Received: from localhost ([127.0.0.1]:56420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Hv4-0002qr-BR for submit@debbugs.gnu.org; Tue, 28 Jun 2022 16:34:46 -0400 Received: from knopi.disroot.org ([178.21.23.139]:58590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6Hux-0002q8-4W for 56286@debbugs.gnu.org; Tue, 28 Jun 2022 16:34:39 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 8754D45B20; Tue, 28 Jun 2022 22:34:38 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4RjbD06Q7YNS; Tue, 28 Jun 2022 22:34:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1656448472; bh=N2O4Lvw7lW1rQlihNPTeENoHo0UgAh3GXnV+BbnkfFs=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Rxf00GG6XeTSNvkwPSDSNsy9zWHAw7rxrGIb+urSZsLE3W5CMYrkQMkCfAuw4ywiw mzL11a6niT/h4S4KAYqGFFQhVLP8ZDUbqgh0bYUZCZUa0XkXeW4jHGmErpn6RWp+nb 8LgktgjkrCC33NPHKXcsxpIL/98VYjAnUNecTq7QBWeUWcpsrL7Vw/iKaEdhKeDLoI 4ZSLgaRZJ1IRgCMswEVFKO0ttzggWBhH1WquYHN6glNl/X9cJ6u6rGRlqZaOJpX5sl eAP/EoLOITaiBQyMu+h6MCjAFmgfGDw999wQGanQBpCtAjZaZXNNq5O4YdWqA3gfOM +opKT+33GnKDw== Date: Tue, 28 Jun 2022 21:34:23 +0100 Message-Id: <20220628203426.31906-3-paren@disroot.org> In-Reply-To: <20220628203426.31906-1-paren@disroot.org> References: <20220628203426.31906-1-paren@disroot.org> Mime-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" X-Patchwork-Original-From: "\( via Guix-patches" via From: "\\(" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/check.scm (kyua): New variable. --- gnu/packages/check.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm index 3cc68987b3..cfef07a6b0 100644 --- a/gnu/packages/check.scm +++ b/gnu/packages/check.scm @@ -67,6 +67,7 @@ (define-module (gnu packages check) #:use-module (gnu packages gnome) #:use-module (gnu packages golang) #:use-module (gnu packages gtk) + #:use-module (gnu packages lua) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -75,6 +76,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 sqlite) #:use-module (gnu packages time) #:use-module (gnu packages xml) #:use-module (guix utils) @@ -3194,3 +3196,34 @@ (define-public atf "ATF, or Automated Testing Framework, is a collection of libraries to write test programs in C, C++ and POSIX shell.") (license license:bsd-3)))) + +(define-public kyua + ;; The last tag was in 2016; the last commit was in 2019. + (let ((commit "a685f911237e7badddbfb71f1301f640c71673d0") + (revision "0")) + (package + (name "kyua") + (version (git-version "0.13" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jmmv/kyua") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "174swi6fz5xhh9rvhzlqfg1ka06hh1aaj46mvi871mvqiwhh8psi")))) + (build-system gnu-build-system) + (arguments + ;; Many of the tests fail, likely due to bitrot, bad interactions with the + ;; isolated build environment, or a combination of the two. + (list #:tests? #f)) + (inputs (list lua-5.2 lutok sqlite)) + (native-inputs (list atf autoconf automake libtool pkg-config)) + (home-page "https://github.com/jmmv/kyua") + (synopsis "Testing framework for infrastructure software") + (description "Kyua is a testing framework for infrastructure software, +originally designed to equip BSD-based operating systems with a testing framework. +It features a test suite definition language based on Lua, a runtime engine for +test suites, and a powerful report generation engine.") + (license license:bsd-3))))