[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/11: gnu: Add utf-8-lineseparator.
From: |
guix-commits |
Subject: |
05/11: gnu: Add utf-8-lineseparator. |
Date: |
Sun, 23 Jan 2022 17:36:41 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit aeeaf4eef40811d2f934cff914ba31dbbf04d449
Author: jgart <jgart@dismail.de>
AuthorDate: Fri Jan 14 03:33:10 2022 -0500
gnu: Add utf-8-lineseparator.
* gnu/packages/textutils.scm (utf-8-lineseparator): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/textutils.scm | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 3a90fc8da7..12e3d3b3c8 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -1374,6 +1374,39 @@ 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 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
(package
(name "csvdiff")
- branch master updated (8ef0473969 -> b45bbe561a), guix-commits, 2022/01/23
- 02/11: doc: Document search paths., guix-commits, 2022/01/23
- 03/11: gnu: Add font-charter., guix-commits, 2022/01/23
- 04/11: doc: Tweak Guix Home bits., guix-commits, 2022/01/23
- 01/11: compile: Really disable cross-module inlining and related features., guix-commits, 2022/01/23
- 05/11: gnu: Add utf-8-lineseparator.,
guix-commits <=
- 08/11: gnu: gtk-vnc: Remove dependency on GJS on non-x86_64., guix-commits, 2022/01/23
- 06/11: gnu: rofi: Add a search path for plugins., guix-commits, 2022/01/23
- 07/11: gnu: Add rofi-calc., guix-commits, 2022/01/23
- 10/11: gnu: gnome-settings-daemon: Build with correct librsvg., guix-commits, 2022/01/23
- 09/11: gnu: gtk-vnc: Build with correct librsvg., guix-commits, 2022/01/23
- 11/11: gnu: vlc: Build with correct librsvg., guix-commits, 2022/01/23