From patchwork Fri Dec 10 11:17:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Munyoki Kilyungi X-Patchwork-Id: 35111 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 C948227BBEA; Fri, 10 Dec 2021 11:19:23 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,T_SPF_HELO_PERMERROR, 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 2B43727BBE9 for ; Fri, 10 Dec 2021 11:19:23 +0000 (GMT) Received: from localhost ([::1]:50620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mvdvu-0000aR-2X for patchwork@mira.cbaines.net; Fri, 10 Dec 2021 06:19:22 -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 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 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)))