From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qG2oN9jNfGRkCAAASxT56A (envelope-from ) for ; Sun, 04 Jun 2023 19:46:00 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id EB7qN9jNfGRPHQEA9RJhRA (envelope-from ) for ; Sun, 04 Jun 2023 19:46:00 +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 B2FD214E3C for ; Sun, 4 Jun 2023 19:46:00 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5rmQ-0004wb-Jl; Sun, 04 Jun 2023 13:44:38 -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 1q5rlt-0004oY-9i for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:08 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5rlt-0002Ap-18 for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5rls-0000pE-Tw for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63894] [PATCH 04/55] gnu: Add perl-dbicx-testdatabase. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jun 2023 17:44:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63894@debbugs.gnu.org Received: via spool by 63894-submit@debbugs.gnu.org id=B63894.16859005972476 (code B ref 63894); Sun, 04 Jun 2023 17:44:04 +0000 Received: (at 63894) by debbugs.gnu.org; 4 Jun 2023 17:43:17 +0000 Received: from localhost ([127.0.0.1]:47099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rl7-0000dg-AG for submit@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:17 -0400 Received: from mout-p-101.mailbox.org ([80.241.56.151]:48274) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rl5-0000ck-9B for 63894@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:15 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-101.mailbox.org (Postfix) with ESMTPS id 4QZ3x735svz9sRx for <63894@debbugs.gnu.org>; Sun, 4 Jun 2023 19:43:07 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1685900587; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Mpt/yt4E5vnN4FNyBQq7Ukz4DxugF0h+Xg9tN8ytgZY=; b=rKwow9KUR+jU07bQz2ZHsAHUnhz8/tjKdT2+RUkVDq2qg1x+yUXnXCT+QpWoNqUTvS7lPq pAK6ZLvWXDnDhkhf1VQ9vnHQXXkH7oCrh+MWBV40vGzhkDueLPqwDtfdzTFmRkIRHftJk/ QPzEs8YfA3kwz4MdBBRmDSm9BIJbCoRa3zoBQkEnSWT9+eo137a55NdErEu/Y7Sb5yJVGy 5fqZXQOrqDU4rhgH2yXDF6vNQ/d9WYXMOAp/KKEC2gklswAa2Flo9Gkv5TENNLBIfekkkS 9BB2yrtNHpgpHGA1jUMv6YON0RQmkCuyG+5Ntt5hmfn9094OE5zp5uWFRhU2GA== Date: Sun, 4 Jun 2023 17:41:58 +0000 Message-Id: <20230604174249.30044-4-antero@mailbox.org> In-Reply-To: <20230604174249.30044-1-antero@mailbox.org> References: <20230604174249.30044-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: h3bbu8heft5j5fiak1hueej59o83ws63 X-MBO-RS-ID: cfaa1f5de106b93a74e 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: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685900760; a=rsa-sha256; cv=none; b=of8SOEQZ3L4PHKXExIgCh3g7vwEo6uUOA/0XM8M/teNSTpROu5hgzLXGcYx9yHc1LBbr04 ysqNDTi3X3lamtDC+yvM4rfHIyBTiRSteTVPB1xRI0gfhyk9S/EahGbeY1KAJxb91eAQ5X aRMfNzygIx1I01cHTwusYALadyLML8DzlCp/ZUHykjSNXuVOG1D4EbCUesv6ztORxd1hni ybVabzZ/SbaR6z1MVa56N88bNJBs8dSV5qeLHcZZsugrQn3gMw5jX33+UjQZB9PRptWI/9 CvaecczuboSaHRDDOVZ9nTRtCNYiEM22e/9l13L4xXsFcZ+3tY9IwjIjquIXEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=rKwow9KU; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685900760; 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-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=Mpt/yt4E5vnN4FNyBQq7Ukz4DxugF0h+Xg9tN8ytgZY=; b=pEvfwU0fXS8p+wypkQarUeNdNzvckzv+9F8o198QdguIa46ziKpmu8VJuasU3OS662fres IUUTkltJ+YFIsymN+Jw2fnEdxgHgJWpcEaIcx5WYFm3CeozbJVblvQnwjjDjbCbAC6U6+J rvAtMP3s2hS2YNQ0ctQEsOQpBWcT2Af0fqaU2YdyjUQeM5Btx56/yRuxyGvOvhMSiu+gIU vso7ITpWK7ESb5SFWtgkPtERehwN6D3TtVp2CvlaZFz5XLG609iB/WIYb3JKb3w6ywsXoa /w24lysO2ulHpzDWyDSB/w619wEpDtCQkivMPbHc3GNzllNdepykKxjnlEeP0Q== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=rKwow9KU; dmarc=pass (policy=none) header.from=gnu.org; 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" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -2.28 X-Spam-Score: -2.28 X-Migadu-Queue-Id: B2FD214E3C X-TUID: 7rYQYeyxjFpG * gnu/packages/databases.scm (perl-dbicx-testdatabase): New variable. --- gnu/packages/databases.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 30334b7e4b..f3ad1a7531 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -2151,6 +2151,31 @@ (define-public perl-dbix-simple ;; Use unlicense because it has the least restrictions. (license license:unlicense))) +(define-public perl-dbicx-testdatabase + (package + (name "perl-dbicx-testdatabase") + (version "0.05") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/J/JR/JROCKWAY/DBICx-TestDatabase-" + version ".tar.gz")) + (sha256 + (base32 + "1kqaiygxiarrqkgqbq1s3xilx77msbdsqrdaqf4628811d9w4fwf")))) + (build-system perl-build-system) + (native-inputs (list perl-dbix-class perl-module-install)) + (propagated-inputs (list perl-dbd-sqlite + perl-sql-translator)) + (home-page "https://metacpan.org/release/DBICx-TestDatabase") + (synopsis "Create a temporary database from a DBIx::Class::Schema") + (description + "This module creates a temporary SQLite database, deploys a DBIC schema, +and then connects to it. This lets you easily test DBIC schema. Since you have +a fresh database for every test, you don't have to worry about cleaning up +after your tests, ordering of tests affecting failure, etc.") + (license license:perl-license))) + (define-public perl-dbd-pg (package (name "perl-dbd-pg") -- 2.39.2