guix-commits
[Top][All Lists]
Advanced

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

18/22: gnu: Add python-cchardet.


From: guix-commits
Subject: 18/22: gnu: Add python-cchardet.
Date: Mon, 29 Mar 2021 18:58:04 -0400 (EDT)

lfam pushed a commit to branch wip-update-calibre
in repository guix.

commit 04ee55539b91f8eee386ae77c7bf24c8be3ca908
Author: Brendan Tildesley <mail@brendan.scot>
AuthorDate: Sat Feb 27 19:49:20 2021 +1100

    gnu: Add python-cchardet.
    
    * gnu/packages/freedesktop.scm (python-cchardet): New variable.
---
 gnu/packages/freedesktop.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index a9e96c9..92b0dae 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -22,6 +22,7 @@
 ;;; Copyright © 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
 ;;; Copyright © 2020 Anders Thuné <asse.97@gmail.com>
 ;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
+;;; Copyright © 2021 Brendan Tildesley <mail@brendan.scot>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1920,6 +1921,25 @@ encoding names are iconv-compatible.")
     ;; combination is GPL 2.0+.
     (license license:gpl2+)))
 
+(define-public python-cchardet
+  (package
+  (name "python-cchardet")
+  (version "2.1.7")
+  (source
+    (origin
+      (method url-fetch)
+      (uri (pypi-uri "cchardet" version))
+      (sha256
+        (base32
+          "1bqfz85cd51sw0bvhvdq9ikccxi2ld7g5jpni4jkq1a5clrvca64"))))
+  (build-system python-build-system)
+  (inputs
+   `(("uchardet" ,uchardet)))
+  (home-page "https://github.com/PyYoshi/cChardet";)
+  (synopsis "Character encoding detector in Python")
+  (description "cChardet is a character encoding detector, written in Python.")
+  (license license:gpl2+)))
+
 (define-public udiskie
   (package
     (name "udiskie")



reply via email to

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