guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: gnu: Add uchardet.


From: guix-commits
Subject: 04/04: gnu: Add uchardet.
Date: Sat, 12 Oct 2019 09:18:40 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 748ca12f97bf317fabfd0d8c2d827c1f6349187b
Author: Reza Alizadeh Majd <address@hidden>
Date:   Fri Oct 11 23:23:21 2019 +0330

    gnu: Add uchardet.
    
    * gnu/packages/freedesktop.scm (uchardet): New variable.
    
    Co-authored-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/freedesktop.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 8a302ba..4339f14 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -14,6 +14,7 @@
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <address@hidden>
 ;;; Copyright © 2018 Pierre Neidhardt <address@hidden>
 ;;; Copyright © 2018 Stefan Stefanović <address@hidden>
+;;; Copyright © 2019 Reza Alizadeh Majd <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1414,3 +1415,26 @@ This package also contains two related utilities:
 their MIME type.
 @end itemize")
     (license license:perl-license)))
+
+(define-public uchardet
+  (package
+    (name "uchardet")
+    (version "0.0.6")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append "https://www.freedesktop.org/software/";
+                            name "/releases/" name "-" version ".tar.xz"))
+        (sha256
+          (base32 "0q9c02b6nmw41yfsiqsnphgc3f0yg3fj31wkccp47cmwvy634lc3"))))
+    (build-system cmake-build-system)
+    (home-page "https://www.freedesktop.org/wiki/Software/uchardet/";)
+    (synopsis "Encoding detector library")
+    (description "uchardet is an encoding detector library, which takes a
+sequence of bytes in an unknown character encoding without any additional
+information, and attempts to determine the encoding of the text.  Returned
+encoding names are iconv-compatible.")
+
+    ;; This combines code under MPL 1.1, LGPL 2.1+, and GPL 2.0+, so the
+    ;; combination is GPL 2.0+.
+    (license license:gpl2+)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]