diff options
author | Brendan Tildesley <mail@brendan.scot> | 2021-02-27 19:49:20 +1100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-04-09 16:09:26 -0400 |
commit | 141e74a83078e1c27ed9b1b7f24783aabf846bca (patch) | |
tree | b3b80df57c7844c142e30f1541ed9440fc35c27b /gnu/packages/freedesktop.scm | |
parent | 9042a304165b3b045ffe8e5f4b7e0bd4f311457d (diff) | |
download | guix-141e74a83078e1c27ed9b1b7f24783aabf846bca.tar.gz |
gnu: Add python-cchardet.
* gnu/packages/freedesktop.scm (python-cchardet): New variable.
Diffstat (limited to 'gnu/packages/freedesktop.scm')
-rw-r--r-- | gnu/packages/freedesktop.scm | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm index a9e96c9928..40d41350ac 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,26 @@ 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 "High-performance character encoding detection for Python") + (description "cChardet is a character encoding detector, written in +Python, that binds to the C library @code{uchardet} to increase performance.") + (license license:gpl2+))) + (define-public udiskie (package (name "udiskie") |