From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uLieDr43s2EO+AAAgWs5BA (envelope-from ) for ; Fri, 10 Dec 2021 12:19:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QKZpCr43s2FzFgAA1q6Kng (envelope-from ) for ; Fri, 10 Dec 2021 11:19:26 +0000 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 CDEAE152EB for ; Fri, 10 Dec 2021 12:19:25 +0100 (CET) Received: from localhost ([::1]:50620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvdvw-0000aR-QW for larch@yhetil.org; Fri, 10 Dec 2021 06:19:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvdva-0000aC-Ks for guix-patches@gnu.org; Fri, 10 Dec 2021 06:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:34134) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mvdva-00035D-CO for guix-patches@gnu.org; Fri, 10 Dec 2021 06:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mvdva-0001I0-8o for guix-patches@gnu.org; Fri, 10 Dec 2021 06:19:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50117] [PATCH 1/1] gnu: Move csvdiff to (gnu packages textutils). Resent-From: BonfaceKilz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 10 Dec 2021 11:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50117 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50117@debbugs.gnu.org Cc: BonfaceKilz , arunisaac@systemreboot.net Received: via spool by 50117-submit@debbugs.gnu.org id=B50117.16391351234922 (code B ref 50117); Fri, 10 Dec 2021 11:19:02 +0000 Received: (at 50117) by debbugs.gnu.org; 10 Dec 2021 11:18:43 +0000 Received: from localhost ([127.0.0.1]:45679 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvdvG-0001HJ-UH for submit@debbugs.gnu.org; Fri, 10 Dec 2021 06:18:43 -0500 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:46335) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvdvD-0001Gt-CU for 50117@debbugs.gnu.org; Fri, 10 Dec 2021 06:18:39 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 88873320112B; Fri, 10 Dec 2021 06:18:33 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 10 Dec 2021 06:18:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= bonfacemunyoki.com; h=from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=fm3; bh=8+ZI4FvUAepiTPTY0WLRVbLSth fABr33axSuF2msNW4=; b=eD3sE3FZRMpZ4y3SbOHnwEBex9Dgu/z+XoI6kZlI7/ HpLfevEyXDlhfvqGEKeSFBJyUNxBD0qAauM034ifmaDDTHfY9yji4ZDX1kSc8AWT Slk0P3SCYs6X6CMoRZ2fuSzfBaZimWzsi45K+fPxWPqrW6p4cIENg/Bh34Glvavn gkSsaeHk3I5Y8HJT1ZcJx2wFALQwLTaeYR7DlHK8CDDICgJb+Pkc0+FGCloM5NdD juEFacQibZ0+CRJ6PCTjGSDoBK262va5aFqrInwj6rN4e8L08KRgTTFmPBP+enGr BBtesfuvH1PW6AtiTZtcNZLZs9kTJE6aQFBSSvLLH1OQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=8+ZI4FvUAepiTPTY0WLRVbLSthfABr33axSuF2msN W4=; b=bXW10Y0QruCTXzBNTtn+w7eQC39LZ3/xamRZQy6OUMAgkEho0Yt4v0c22 x56QIwXGG7lZmnrgohPJEXvH7HvOp0HHk7+M3PwxuGEmeTvorjU55Kh2jmsiS7oD eBor38sOhF42vGfYZ+e3VjiJSrACHFXUZpnJc4ssaNAsuo9CDbhASno5/aXcecHX gpYhyBLmkHOa2ZYBlDlSAv1oSMC0vls8yct89jq4fG+lHH/zxeh0dZf0KIBnqel7 BCafsB7BwNOixLkgDnRjuyBg+GUL4zEDJ8ZWKNj6UYniA0XADyw9s+l5t65rwgf1 3ybkBR+NUq9MVDb2Xno2odg0Pz3zQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrkedvgddvjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffojghfgggtgfesthekre dtredtjeenucfhrhhomhepuehonhhfrggtvgfmihhliicuoehmvgessghonhhfrggtvghm uhhnhihokhhirdgtohhmqeenucggtffrrghtthgvrhhnpeduhfeifefhkeetkeegfffhtd evtdffgeejteetleejueeftefgvddujedvveegkeenucffohhmrghinhepghhnuhdrohhr ghdpghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepmhgvsegsohhnfhgrtggvmhhunhihohhkihdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Dec 2021 06:18:30 -0500 (EST) From: BonfaceKilz Date: Fri, 10 Dec 2021 14:17:52 +0300 Message-Id: <20211210111752.20147-2-me@bonfacemunyoki.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20211210111752.20147-1-me@bonfacemunyoki.com> References: <20211210111752.20147-1-me@bonfacemunyoki.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639135165; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: 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=8+ZI4FvUAepiTPTY0WLRVbLSthfABr33axSuF2msNW4=; b=mi8ZT2NxyotgnhJ5h34z4jHBgRrNjRDNE8eRmLBWCW38jrdfOIxkIcrdUfAFL3L6z3M53G c0+1Xm8CIUnRbMRyT3ZoFJyhGxww1BwFjATVQmHpLSlOjwFHVFNdZAfsVBB8v1Un3k0vMw Gv4u5o7ne0tnFm6r4of2Ea2JEw25OKY2Zn5wRCOUZCZ6ovuePLEMiKo5Wpqq1CAuTm0sAv S2WZ3erqruyaLLrN2jyjsaU3GzIXpem8Ig/qth9THa10HwP9yzca991DjXdwHR8Z2/z3L7 ptVcV4LPiHMwC3uwgCZ9XwrsHBReI38bNUfuR6ZtvZfPUOdeRIGSU4jSiffCrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639135165; a=rsa-sha256; cv=none; b=V6KjV46p7Opy7aYwH7QTPUhZhSPj+h3tHbRhqwKjSxPy5luMfV8fTSH/RPxw0hwqVmZUZL GwCsXbAQ3J29HDDSJ5LtLugf6U43smPCxJxaJva8cDsGEAs7oAwAgS8ijodnpQiJgkEJeE ovRCZmlkOnFumWUyY5/uPzaTE5mb+1wX1t5ILDzwkGljbSWRfG4e1YpvsYJ8KbHLdQmefd MYLMRYKHKefqMkpExHHxOKbewRL47GqzHHSSTLJKoiz27Qm/vwYYCI5c428CKJOUEEM77g SxkzAlelVl4iYuIKiZ4lB37LVHSVMT7O2kG4GIGsn5UZoQi5nPiawPx43jPMHw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm3 header.b=eD3sE3FZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=bXW10Y0Q; dmarc=none; 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: -1.06 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=bonfacemunyoki.com header.s=fm3 header.b=eD3sE3FZ; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=bXW10Y0Q; dmarc=none; 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: CDEAE152EB X-Spam-Score: -1.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: li7aOsAk/hsd See . * gnu/packages/golang.scm (go-github-com-aswinkarthik-csvdiff): Move from here * gnu/packages/textutils (go-github-com-aswinkarthik-csvdiff): to here. --- gnu/packages/golang.scm | 44 ------------------------------------ gnu/packages/textutils.scm | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 44 deletions(-) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index d555a92579..49c124a415 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -8788,50 +8788,6 @@ zero round-trip encryption, and other advanced features.") non-cryptographic hash algorithm, working at speeds close to RAM limits.") (license license:asl2.0))) -(define-public go-github-com-aswinkarthik-csvdiff - (package - (name "go-github-com-aswinkarthik-csvdiff") - (version "1.4.0") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/aswinkarthik/csvdiff") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0cd1ikxsypjqisfnmr7zix3g7x8p892w77086465chyd39gpk97b")))) - (build-system go-build-system) - (arguments - '(#:import-path "github.com/aswinkarthik/csvdiff")) - (propagated-inputs - `(("go-golang-org-x-sys" ,go-golang-org-x-sys) - ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) - ("go-github-com-spf13-cobra" ,go-github-com-spf13-cobra) - ("go-github-com-spf13-afero" ,go-github-com-spf13-afero) - ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) - ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable) - ("go-github-com-fatih-color" ,go-github-com-fatih-color) - ("go-github-com-cespare-xxhash" ,go-github-com-cespare-xxhash) - ("go-github-com-oneofone-xxhash" ,go-github-com-oneofone-xxhash))) - (home-page "https://github.com/aswinkarthik/csvdiff") - (synopsis "Fast diff tool for comparing CSV files") - (description "@code{csvdiff} is a diff tool to compute changes between two -CSV files. It can compare CSV files with a million records in under 2 -seconds. It is specifically suited for comparing CSV files dumped from -database tables. GNU Diff is orders of magnitude faster for comparing line by -line. @code{csvdiff} supports - -@itemize -@item Selective comparison of fields in a row -@item Specifying group of columns as primary-key to uniquely identify a row -@item Ignoring columns -@item Several output formats including colored git style output or -JSON for post-processing -@end itemize") - (license license:expat))) - (define-public go-gopkg-in-djherbis-times-v1 (package (name "go-gopkg-in-djherbis-times-v1") diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm index 7e7293ac16..9a8b9ae1e8 100644 --- a/gnu/packages/textutils.scm +++ b/gnu/packages/textutils.scm @@ -22,6 +22,7 @@ ;;; Copyright © 2020 Maxim Cournoyer ;;; Copyright © 2021 Jean-Baptiste Volatier ;;; Copyright © 2021 Simon Tournier +;;; Copyright © 2021 Bonface Munyoki Kilyungi ;;; ;;; This file is part of GNU Guix. ;;; @@ -64,6 +65,7 @@ #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-xyz) + #:use-module (gnu packages syncthing) #:use-module (gnu packages readline) #:use-module (gnu packages ruby) #:use-module (gnu packages slang) @@ -1347,3 +1349,47 @@ languages such as HTML, Markdown, Asciidoc, and reStructuredText. The community around it also has a list of style guides implemented with Vale in @url{https://github.com/errata-ai/styles, their styles repo}.") (license license:expat))) + +(define-public go-github-com-aswinkarthik-csvdiff + (package + (name "csvdiff") + (version "1.4.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/aswinkarthik/csvdiff") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "0cd1ikxsypjqisfnmr7zix3g7x8p892w77086465chyd39gpk97b")))) + (build-system go-build-system) + (arguments + '(#:import-path "github.com/aswinkarthik/csvdiff")) + (propagated-inputs + `(("go-golang-org-x-sys" ,go-golang-org-x-sys) + ("go-github-com-stretchr-testify" ,go-github-com-stretchr-testify) + ("go-github-com-spf13-cobra" ,go-github-com-spf13-cobra) + ("go-github-com-spf13-afero" ,go-github-com-spf13-afero) + ("go-github-com-spaolacci-murmur3" ,go-github-com-spaolacci-murmur3) + ("go-github-com-mattn-go-colorable" ,go-github-com-mattn-go-colorable) + ("go-github-com-fatih-color" ,go-github-com-fatih-color) + ("go-github-com-cespare-xxhash" ,go-github-com-cespare-xxhash) + ("go-github-com-oneofone-xxhash" ,go-github-com-oneofone-xxhash))) + (home-page "https://github.com/aswinkarthik/csvdiff") + (synopsis "Fast diff tool for comparing CSV files") + (description "@code{csvdiff} is a diff tool to compute changes between two +CSV files. It can compare CSV files with a million records in under 2 +seconds. It is specifically suited for comparing CSV files dumped from +database tables. GNU Diff is orders of magnitude faster for comparing line by +line. @code{csvdiff} supports + +@itemize +@item Selective comparison of fields in a row +@item Specifying group of columns as primary-key to uniquely identify a row +@item Ignoring columns +@item Several output formats including colored git style output or +JSON for post-processing +@end itemize") + (license license:expat))) -- 2.31.1