From patchwork Sun Jul 31 01:08:46 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Philip McGrath X-Patchwork-Id: 41067 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 23F9327BBEA; Sun, 31 Jul 2022 02:10:57 +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 D788927BBE9 for ; Sun, 31 Jul 2022 02:10:56 +0100 (BST) Received: from localhost ([::1]:43006 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHxTs-0000yD-2Z for patchwork@mira.cbaines.net; Sat, 30 Jul 2022 21:10:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42058) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHxTA-00006V-Ti for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46275) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHxT1-0007CF-Kt for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHxT1-0002Sq-GF for guix-patches@gnu.org; Sat, 30 Jul 2022 21:10:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56849] [PATCH 4/8] gnu: Add texlive-datatool. Resent-From: Philip McGrath Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 31 Jul 2022 01:10:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56849 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56849@debbugs.gnu.org Cc: Philip McGrath Received: via spool by 56849-submit@debbugs.gnu.org id=B56849.16592297679355 (code B ref 56849); Sun, 31 Jul 2022 01:10:03 +0000 Received: (at 56849) by debbugs.gnu.org; 31 Jul 2022 01:09:27 +0000 Received: from localhost ([127.0.0.1]:36010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHxSR-0002Qn-2i for submit@debbugs.gnu.org; Sat, 30 Jul 2022 21:09:27 -0400 Received: from mail-qv1-f41.google.com ([209.85.219.41]:44005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHxSM-0002Q7-JJ for 56849@debbugs.gnu.org; Sat, 30 Jul 2022 21:09:22 -0400 Received: by mail-qv1-f41.google.com with SMTP id j11so6125594qvt.10 for <56849@debbugs.gnu.org>; Sat, 30 Jul 2022 18:09:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=philipmcgrath.com; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc; bh=VCVQBPSUFtwHqQNhzZlP5u3sy4Vtm3taYW+/0DwRdEA=; b=EvjaZlKtyMYgydfUOkfWHmG+G1DZxyXvau2COs5igQ1+QBiY60er5oh1OYClohK0BI G6qRTCGHEkkO5W2jTVyfLVoaVByC6hDbqL8SQHGq7JS57b0RIWvgtsMRDqW3AeBftSE9 lPIe7MSvhAwZnvVzuJ0DCvFxPHL9KkVrDT+yGD9tp0kt4Dx6sn/XEFvztzbWiudWbTop iYgZ9W28thapje1UsGjUyka+FVH3Zs3ZFJviBdWTb3zQ3TZjSmBzvYZwz/cZ3L6AREQz VQRMObS7NWW8fLOULzAX4z+eOXYJ/R1Kz5SakLIk8yBf9+ce8Wl3uCHgynOEDhqS4jhK +ilQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc; bh=VCVQBPSUFtwHqQNhzZlP5u3sy4Vtm3taYW+/0DwRdEA=; b=kLheEG2ChgZw1lq9bKBa4yLkIjTX3WqhmPRq2ojVahAviINngvjhNCW55hnuOrGOEw uxSRpsx35oga57kUPxv+cgAbQYiteo8oElA4b4eBmGFKQtWtVdVchESeR/Ya6ReZ9VCQ 4/MqMvkqHjhHE0LOvzmj2AiYJFCuU8nPI2fiQyGwmR9B5f0US1MOwqIVWU9kip4vx2Dv QNQUWkH06Xxs8PE/5NSYWQBCW8zZJvzcc50Vi5omOaYeLkAuiJpexrRgLrDFDhGfgV5Y 5GYVtpzx9Cng7MstKsryLzTTE0UjdO7+6fEnAQES8KXqKjhzBdy5cEX0gsqRzAEnGKWH y7SA== X-Gm-Message-State: ACgBeo176o6dEO1OnDNbLfvvBTQczeV6V/WTSaIJQhLLuy0cY6LveuPT PJUta3lZY/gjNOS8TaOKxO6e02K9Ca7ZJJdR X-Google-Smtp-Source: AA6agR7RWgVH6Gspuel8bFGAza546QAccBegnLg3VvCjM7TjLrLUGGfxxgufLNLW706xAm6Qof+x3A== X-Received: by 2002:a05:6214:d84:b0:473:3106:a97d with SMTP id e4-20020a0562140d8400b004733106a97dmr8853826qve.112.1659229757086; Sat, 30 Jul 2022 18:09:17 -0700 (PDT) Received: from localhost (c-73-125-98-51.hsd1.fl.comcast.net. [73.125.98.51]) by smtp.gmail.com with UTF8SMTPSA id bx10-20020a05622a090a00b0031ef622a6a2sm4656223qtb.17.2022.07.30.18.09.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 30 Jul 2022 18:09:16 -0700 (PDT) From: Philip McGrath Date: Sat, 30 Jul 2022 21:08:46 -0400 Message-Id: <193a2b1a0f9943cee5354dffc76c87d4ca52f93e.1659229280.git.philip@philipmcgrath.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: References: 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" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tex.scm (texlive-datatool): New variable. --- gnu/packages/tex.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index c4e8bdfd82..9f867f287d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -11176,3 +11176,42 @@ (define-public texlive-comment or excluding pieces of text, allowing the user to define new, separately controlled comment versions.") (license license:gpl2+))) + +(define-public texlive-datatool + (let ((template (simple-texlive-package + "texlive-datatool" + '("/bibtex/bst/datatool/" + "/doc/latex/datatool/" + "/source/latex/datatool/") + (base32 + "0hh2623zlwgq8zb2lv4d8yfaqwzrz54dqhc1xk0jd1k4fp281kl5")))) + (package + (inherit template) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ #f) + "latex/datatool") + ((#:build-targets _ #t) + #~(list "datatool.ins")) + ((#:phases std-phases) + #~(modify-phases #$std-phases + (add-after 'unpack 'chdir + (lambda args + (chdir "source/latex/datatool"))) + (add-before 'copy-files 'unchdir + (lambda args + (chdir "../../.."))) + (add-after 'copy-files 'remove-extra-files + (lambda args + (delete-file-recursively + (string-append #$output + "/share/texmf-dist" + "/source/latex/datatool/build")))))))) + (home-page "https://ctan.org/pkg/datatool") + (synopsis "Tools to load and manipulate data") + (description "This package provides tools to create databases using LaTeX +commands or by importing external files. Databases may be sorted, filtered, +and visualized using several kinds of configurable plots. Particular support +is provided for mail merging, indexing, creating glossaries, manipulating +bibliographies, and displaying personal pronouns.") + (license license:lppl1.3+))))