From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8P4bHSEu4WEyFQEAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 09:02:41 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GECsGSEu4WGPfwEAauVa8A (envelope-from ) for ; Fri, 14 Jan 2022 09:02:41 +0100 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 0744D2D952 for ; Fri, 14 Jan 2022 09:02:41 +0100 (CET) Received: from localhost ([::1]:55980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8HXj-0006zu-8m for larch@yhetil.org; Fri, 14 Jan 2022 03:02:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58816) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8HNV-0004ab-Qp for guix-patches@gnu.org; Fri, 14 Jan 2022 02:52:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42438) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8HNR-00074f-Tp for guix-patches@gnu.org; Fri, 14 Jan 2022 02:52:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8HNR-0001LB-U2 for guix-patches@gnu.org; Fri, 14 Jan 2022 02:52:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53248] [PATCH] gnu: Add utf-8-lineseparator. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 07:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53248 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53248@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16421466815083 (code B ref -1); Fri, 14 Jan 2022 07:52:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Jan 2022 07:51:21 +0000 Received: from localhost ([127.0.0.1]:35341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8HMm-0001Ju-On for submit@debbugs.gnu.org; Fri, 14 Jan 2022 02:51:20 -0500 Received: from lists.gnu.org ([209.51.188.17]:41292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8HMk-0001Jm-0P for submit@debbugs.gnu.org; Fri, 14 Jan 2022 02:51:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8HMh-0003Xs-Kb for guix-patches@gnu.org; Fri, 14 Jan 2022 02:51:17 -0500 Received: from mx1.dismail.de ([78.46.223.134]:18835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8HMd-0006xb-Hg for guix-patches@gnu.org; Fri, 14 Jan 2022 02:51:15 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id df17919e for ; Fri, 14 Jan 2022 08:50:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20190914; bh=OJsUKmkZbuvSo0yu6Kn4DUNXxP+44akkQwLxTG8a1cY=; b= SwHS7FChYWy7jUNhyBL2V44JVxSgz2djzqLmkKLU1d0tJMAajTW/sC/wnNtQwli5 u/c+OYmNcXlWJ27ymCVgS18QblS9z5Z+XTfGEGKNjrDyRHny4CF250yshG07Ivj8 F1j+j4qE4drPIJr2dJqL5ufux4nOz7Lr/W2HDM2YVvD5q6W8wFo287Psd9uLRnQS CAeZfI3MetnSRHTRm92j/ClYyRoIdBtBjxLQTmFr4co4vpUN2I3mQ14yLP7IK1eU 1sZspbP6o7JwMkoCiikZiqm4OLglWZpmQPjcb9ejuJbUoWJFv2E/06qwsEvc61mV Phn/8CPH69oOgfIcqZ3jGg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 9a8fbb5a for ; Fri, 14 Jan 2022 08:50:55 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id ddf2694c for ; Fri, 14 Jan 2022 08:50:55 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id af397fe2 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 14 Jan 2022 08:50:55 +0100 (CET) Date: Fri, 14 Jan 2022 02:50:35 -0500 Message-Id: <20220114075035.1580-1-jgart@dismail.de> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642147361; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=y5e5xx2ZrdcOs2Ih1H5P2E+OiT5cT3Lji1l6zVFV3vA=; b=dgcXna59IussKHfLfy59ty/T5x5XiFVM7dnrTPUbN8eNz2cESGzXZBtYeu+PyYJtnJOxMI eVk5NxHOQwBo3Bljaep0H+5rSdFpbli6I3/fSoZwkehHA4hpyLTUqibDjhrKvyjBEzwsQt oXWFF0teNxFB+HXWLPA/80CUCzpGFrP1diQtx6suLrYEUv+xb+tpF0aEGuCRWQap4oN5R+ ETG83X0ljXHsdwJnvwIngKFOywhNo5/HuIZEcfHaSX/oOy7xg36EUyCD1qgai53UNjo7Tm vF9VGMtlnAstxuceQc0w+vgOFxUpHpV3lR/LvYQ1RadqBjJMHQRpp553w6xKKg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642147361; a=rsa-sha256; cv=none; b=KpF4IbS94lQ/nmXlZrq9lLcaUwYvlKMdqv6t9fAsm1100EJUfkgqP3DCWnedDxr3cV2si9 KDsbvLwnwzLdZpKd/hRM3Q8jOGfdHlvQ/+3GVzxipJwMIol30YvvWBra4JvrJnl/oe5a/4 8TIMEMjWh3cs8Cx2btc6Xan/EAC9pnqmjS/DtQDyv4Z1p61pb1yNy0+Eb1wUySmUKC/mpi kr601w+yFs3FiSUNQoYeaaRCE4knTCRx6AkFe37vrsM4D6aUhpFOsvkHoNagG5aWnaAKfD fop7BH+BZbWq7a7AVSaIsEzzi/65BWcRSkherIBiZvXmrJl3dsGAZVbWHLhegQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=SwHS7FCh; 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-Spam-Score: -4.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=SwHS7FCh; 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-Queue-Id: 0744D2D952 X-Spam-Score: -4.72 X-Migadu-Scanner: scn0.migadu.com X-TUID: SNQwXe+0xlVr * gnu/packages/textutils.scm (utf-8-lineseparator): New variable. --- gnu/packages/textutils.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 3a90fc8da7..5b1ebfdd9d 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -1374,6 +1374,40 @@ (define-public go-github-com-errata-ai-vale @url{https://github.com/errata-ai/styles, their styles repo}.") (license license:expat))) +(define-public utf-8-lineseparator + (package + (name "utf-8-lineseparator") + (version "cj3") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/pflanze/utf-8-lineseparator") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1xnbcanqn5jr965gw9195ij6hz04clfm77m5776dysn9nykn20w1")))) + (build-system gnu-build-system) + (arguments + `(#:make-flags + (list + (string-append "CC=" ,(cc-for-target))) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (replace 'install + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin"))) + (install-file "utf-8-lineseparator" bin))))))) + (home-page "https://github.com/pflanze/utf-8-lineseparator") + (synopsis "Line ending detection library") + (description + "@code{utf-8-lineseparator} provides a tool to efficiently check text +(CSV) files for valid UTF-8 use, and to report which line endings +they use.") + (license license:expat))) + (define-public csvdiff (package (name "csvdiff") -- 2.34.1