From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SEncFMEBp2VsIQEAqHPOHw:P1 (envelope-from ) for ; Tue, 16 Jan 2024 23:22:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SEncFMEBp2VsIQEAqHPOHw (envelope-from ) for ; Tue, 16 Jan 2024 23:22:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=l6zRlrM3; 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=1705443777; 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=jnGZH8e9l4agdQOk9fOHnFW9TM7r6/a5eqp1tOMLE+A=; b=cYASPlf+hJE8DioMI0nlJRpo8f+ltH6z6awRfU64sp/ZlPw8FUPEoDaqqgLwMJN3xr1qBc Kz+IwLw9W7RTPFlQxpq/idaxlwnmOguaItjQU43LWu1qsz75xe05TyYHON4EI+fF1WH/Vo QQKIzDIUZCv9hOUCX7tRP7jFzoXqboAwKQUu/I0l3bzLNGXadbu1mkCDGU27ycwH3BDyqT kTraB629RV8/DhGAvUYINHbdH3mZV0vxbx3j1n2Vv2P0JUTmRfDoAWqx50gIB+YHnNv7gr CzJuKHBs1bgQ3UWKp54YoGR8qUJIdg419jQJx/8RkBF+5zuQ3EqYS5VKxRxWQA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b=l6zRlrM3; 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-Seal: i=1; s=key1; d=yhetil.org; t=1705443777; a=rsa-sha256; cv=none; b=CfTd1KPvFR1TaPKBDEcB8G3y38wb14Enx4+2/RAzwP3wZ4BYf2kqfFOwJfLWqQqJgGD44F oM/G8J6xmYsevGT6gugzTEN+UaEN91TI1sP/CNgF/jY0BEeQnOd5sJiorhkkFQXAI4vTWb lW8E1T49kKrpwfoMNzAL32fYeFi/KCYaA2iKEfSsmD3C6NJat8ZqSZK/TvIqTBIQ73aMa4 e9/7s5WHdNg8F2RcrzB148G+lyTkabHq7ORY1F7CB+pVnS9e0TibVP4e1csweEb94Lcav9 /4iKQRGuBh7B5rWK2buSaM5FcD26hEBUUGoP5yE5JXhQAdypv6AjU6OhmfjP3Q== 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 4189B17B71 for ; Tue, 16 Jan 2024 23:22:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rProv-0002v0-4X; Tue, 16 Jan 2024 17:22:11 -0500 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 1rPror-0002tn-A6 for guix-patches@gnu.org; Tue, 16 Jan 2024 17:22:06 -0500 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 1rPron-0005b2-JN for guix-patches@gnu.org; Tue, 16 Jan 2024 17:22:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rProo-0003qQ-5d for guix-patches@gnu.org; Tue, 16 Jan 2024 17:22:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67963] [PATCH v2 31/37] gnu: Add perl-sql-translator. Resent-From: Felix Lechner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Jan 2024 22:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67963 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67963@debbugs.gnu.org Cc: Felix Lechner Received: via spool by 67963-submit@debbugs.gnu.org id=B67963.170544367014651 (code B ref 67963); Tue, 16 Jan 2024 22:22:02 +0000 Received: (at 67963) by debbugs.gnu.org; 16 Jan 2024 22:21:10 +0000 Received: from localhost ([127.0.0.1]:50035 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPrnx-0003o9-Jw for submit@debbugs.gnu.org; Tue, 16 Jan 2024 17:21:10 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]:33596) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPrhH-0000o2-AR for 67963@debbugs.gnu.org; Tue, 16 Jan 2024 17:14:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=S96xlLK7D7VEi5X V7cNryWhwhFf1Z3a+Ghb0u0nY+Ws=; h=references:in-reply-to:date:subject: cc:to:from; d=lease-up.com; b=l6zRlrM3+OjZhDAa3xrQdFmE/yaIHvmYVjwYTiT4 Y/VSTgTPaAf7G66ZLlvt8kt5jkP7tAeBqTcwSX/gj6R0Z2bMLsu+m5dy20ZdCfKVAA2QzO 0scixU+SQ3stn5LWcfHdGagRfcJc9LgCOsCoqqd5ap8ptdxVIkBbTfcGi2djk= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 246edb8d (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Tue, 16 Jan 2024 22:14:08 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 64d4767f; Tue, 16 Jan 2024 22:14:08 +0000 (UTC) Date: Tue, 16 Jan 2024 14:13:09 -0800 Message-ID: <0bc6f55d2d028a62389ce59c48a6db021ea3009f.1705443195.git.felix.lechner@lease-up.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: 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: Felix Lechner X-ACL-Warn: , Felix Lechner via Guix-patches From: Felix Lechner 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-Spam-Score: -6.68 X-Migadu-Scanner: mx13.migadu.com X-Spam-Score: -6.68 X-Migadu-Queue-Id: 4189B17B71 X-TUID: wRaLa7fXuOv9 * gnu/packages/databases.scm (perl-sql-translator): New variable. Change-Id: I8a7c45539cf848e03f038b1e8bb9334b5115d1d4 --- gnu/packages/databases.scm | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm index 1f4e6be631..5ff23ba63d 100644 --- a/gnu/packages/databases.scm +++ b/gnu/packages/databases.scm @@ -101,12 +101,14 @@ (define-module (gnu packages databases) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gawk) #:use-module (gnu packages gcc) + #:use-module (gnu packages gd) #:use-module (gnu packages gettext) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) #:use-module (gnu packages golang) #:use-module (gnu packages gperf) + #:use-module (gnu packages graphviz) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages icu4c) @@ -2322,6 +2324,61 @@ (define-public perl-sql-tokenizer valid SQL query.") (license license:perl-license))) +(define-public perl-sql-translator + (package + (name "perl-sql-translator") + (version "1.64") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://cpan/authors/id/V/VE/VEESH/SQL-Translator-" + version ".tar.gz")) + (sha256 + (base32 "1iykygxlsd98cxkr6np3gvcidrvgal7q59ms1id1vb76z0kd8478")))) + (build-system perl-build-system) + (arguments + (list + #:tests? #f)) + (native-inputs (list perl-file-sharedir-install + perl-json-maybexs + perl-test-differences + perl-test-exception + perl-xml-writer + perl-yaml)) + (propagated-inputs (list perl-carp-clan + perl-dbi + perl-file-sharedir + perl-gd + perl-graph + perl-graphviz + perl-moo + perl-package-variant + perl-parse-recdescent + perl-spreadsheet-parseexcel + perl-sub-quote + perl-template-toolkit + perl-text-recordparser + perl-try-tiny + perl-xml-libxml)) + (home-page "https://metacpan.org/release/SQL-Translator") + (synopsis "SQL DDL transformations and more") + (description "SQL::Translator is a group of Perl modules that converts +vendor-specific SQL table definitions into other formats like a different +SQL dialect, into ER diagrams, into documentation (POD and HTML), into XML, +and into Class::DBI classes. + +The main focus of SQL::Translator is SQL, but parsers exist for other +structured data formats, including Excel spreadsheets and arbitrarily +delimited text files. + +Through the separation of the code into parsers and producers with an +object model in between, it's possible to combine any parser with any +producer, or to plug in custom parsers or producers, or to manipulate +the parsed data via the built-in object model. Presently only the +definition parts of SQL are handled CREATE, ALTER), but not the +manipulation of data (INSERT, UPDATE, DELETE).") + (license license:perl-license))) + (define-public unixodbc (package (name "unixodbc") -- 2.41.0