me
/
guix
Archived
1
0
Fork 0

gnu: Add go-github-com-aswinkarthik-csvdiff.

* gnu/packages/golang.scm (go-github-com-aswinkarthik-csvdiff): New variable.

Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
BonfaceKilz 2021-08-17 08:50:42 +03:00 committed by Arun Isaac
parent 66cb568e31
commit 5fbeb09f91
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3
1 changed files with 44 additions and 0 deletions

View File

@ -8421,3 +8421,47 @@ zero round-trip encryption, and other advanced features.")
@url{https://github.com/Cyan4973/xxHash, xxHash} algorithm, an extremely fast
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)))