mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
gnu: Add utf-8-lineseparator.
* gnu/packages/textutils.scm (utf-8-lineseparator): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
68eda25964
commit
aeeaf4eef4
1 changed files with 33 additions and 0 deletions
|
@ -1374,6 +1374,39 @@ (define-public go-github-com-errata-ai-vale
|
||||||
@url{https://github.com/errata-ai/styles, their styles repo}.")
|
@url{https://github.com/errata-ai/styles, their styles repo}.")
|
||||||
(license license:expat)))
|
(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
|
||||||
|
files for valid UTF-8 use and to report which line endings they use.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
||||||
(define-public csvdiff
|
(define-public csvdiff
|
||||||
(package
|
(package
|
||||||
(name "csvdiff")
|
(name "csvdiff")
|
||||||
|
|
Loading…
Reference in a new issue