aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/iso-codes.scm
blob: d2bace6a3c7bc9939a72e46933fba13ba8539702 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Cyril Roelandt <tipecaml@gmail.com>
;;; Copyright © 2016, 2019 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2022 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (gnu packages iso-codes)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix git-download)
  #:use-module (guix build-system gnu)
  #:use-module (guix build-system python)
  #:use-module (gnu packages gettext)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages python))

(define-public iso-codes/official
  ;; This package variant is intended for ‘external’ use, such as users running
  ;; ‘guix install’, where any deviation from ISO gospel might be harmful.
  (package
    (name "iso-codes")
    (version "4.5.0")
    (home-page "https://salsa.debian.org/iso-codes-team/iso-codes")
    (source (origin
             (method git-fetch)
             (uri (git-reference
                   (url home-page)
                   (commit (string-append "iso-codes-" version))))
             (file-name (git-file-name name version))
             (sha256
              (base32
               "1q6x9c5x4x0x4q11iygldsmxdyzhz1mb4n8im76glwsgqsqyjs80"))))
    (build-system gnu-build-system)
    (native-inputs
     (list gettext-minimal perl python-wrapper))
    (synopsis "Various ISO standards")
    (description
     "This package provides lists of various ISO standards (e.g. country,
language, language scripts, and currency names) in one place, rather
than repeated in many programs throughout the system.

Currently there are lists of languages and countries embedded in
several different programs, which leads to dozens of lists of
200 languages, translated into more than 30 languages... not
very efficient.

With this package, we create a single \"gettext domain\" for every
supported ISO standard which contains the translations of
that domain.  It is easy for a programmer to re-use those
translations instead of maintaining their own translation
infrastructure.  Moreover, the programmer does not need to follow
changes in the ISO standard and will not work with outdated
information.")
    (license license:gpl2+)))           ; some bits use the lgpl2

(define-public iso-codes
  ;; This package should be used universally within Guix, e.g., as an input to
  ;; other Guix packages or in the Guix System installer's country selector.
  (hidden-package
   (package
     (inherit iso-codes/official)
     (source
      (origin
        (inherit (package-source iso-codes/official))
        (modules '((guix build utils)))
        (snippet
         '(begin
            (substitute* (find-files "." "\\.po$")
              (("#.*Name for TWN,.*") "")
              (("^msgid \"Taiwan, .*") "# Guix doesn't use "))
            (substitute* "data/iso_3166-1.json"
              (("(Taiwan), [^\"]*" _ name) name))))))
     (synopsis "Various ISO standards as used by GNU@tie{}Guix"))))

(define-public python-iso639
  (package
    (name "python-iso639")
    (version "0.4.5")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "iso-639" version))
       (sha256
        (base32
         "0jffmh4m20q8j27xb2fqbnlghjj0cx8pgsbzqisdg65qh2wd976w"))))
    (build-system python-build-system)
    (home-page "https://github.com/noumar/iso639")
    (synopsis "Python library for ISO 639 standard")
    (description "This package provides a Python library for ISO 639 standard
that is concerned with representation of names for languages and language
groups.")
    (license license:agpl3+)))

(define-public python-iso3166
  (package
    (name "python-iso3166")
    (version "2.1.1")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "iso3166" version))
       (sha256
        (base32
         "068p94gavc8gbmp5a2kw8hi5l551wfzbpmp6z7ll8sx6vnw53mgw"))))
    (build-system python-build-system)
    (home-page "https://github.com/deactivated/python-iso3166")
    (synopsis "Self-contained ISO 3166-1 country definitions")
    (description "This package provides the ISO 3166-1 country definitions.")
    (license license:expat)))
thon2-urwid, python2-urwidtrees, python2-pygpgme and python2-notmuch. Add gnupg, python-magic, python-configobj, python-twisted, python-service-identity, python-urwid, python-urwidtrees, python-gpg and python-notmuch. [synopsis]: Update synopsis. [description]: Update description. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Tanguy Le Carrour 2020-11-12gnu: afew: Update to 3.0.1....* gnu/packages/mail.scm (afew): Update to 3.0.1. [inputs]: Add notmuch and python-dkimpy. [native-inputs]: Add python-freezegun. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr> Tanguy Le Carrour 2020-11-11gnu: python-aiosmtpd: Update to 1.2.2....* gnu/packages/mail.scm (python-aiosmtpd): Update to 1.2.2. Tobias Geerinckx-Rice 2020-11-11gnu: mailman: Update to 3.3.2....* gnu/packages/mail.scm (mailman): Update to 3.3.2. Tobias Geerinckx-Rice 2020-11-08gnu: notmuch: Update to 0.31.1....* gnu/packages/mail.scm (notmuch): Update to 0.31.1. Oleg Pykhalov 2020-11-01gnu: fetchmail: Update to 6.4.13....* gnu/packages/mail.scm (fetchmail): Update to 6.4.13. Tobias Geerinckx-Rice 2020-10-28gnu: altermime: Fix typo....* gnu/packages/mail (altermime)[description]: Fix spelling of "arbitrary". Vagrant Cascadian 2020-10-21gnu: Add rspamd....* gnu/packages/mail.scm (rspamd): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Alexandru-Sergiu Marton 2020-10-19gnu: claws-mail: Update to 3.17.8....* gnu/packages/mail.scm (claws-mail): Update to 3.17.8. Tobias Geerinckx-Rice 2020-10-16gnu: perl-email-sender: Update to 1.300035....* gnu/packages/mail.scm (perl-email-sender): Update to 1.300035. Tobias Geerinckx-Rice 2020-10-16gnu: swaks: Update to 20201014.0....* gnu/packages/mail.scm (swaks): Update to 20201014.0. Tobias Geerinckx-Rice 2020-10-16gnu: swaks: Use git source....* gnu/packages/mail.scm (swaks)[source]: Use GIT-FETCH and GIT-FILE-NAME. [argument]: Add a ‘set-build_version’ phase. Adjust the POD file name. Tobias Geerinckx-Rice 2020-10-15gnu: claws-mail: Change build-system....* gnu/packages/mail.scm (claws-mail) [build-system]: Change from gnu-build-system to glib-or-gtk-build-system. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Raghav Gururajan 2020-10-15gnu: claws-mail: Make some cosmetic changes....* gnu/packages/mail.scm (claws-mail): Make some cosmetic changes. Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org> Raghav Gururajan 2020-10-14gnu: offlineimap: Update to 7.3.3....* gnu/packages/mail.scm (offlineimap): Update to 7.3.3. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Tim Gesthuizen 2020-10-13gnu: muchsync: Use pandoc instead of ghc-pandoc....* gnu/packages/mail.scm (muchsync)[native-inputs]: Replace ghc-pandoc with pandoc. Signed-off-by: Marius Bakke <marius@gnu.org> zimoun 2020-10-13gnu: alpine: Update to 2.24....* gnu/packages/mail.scm (alpine): Update to 2.24. Tobias Geerinckx-Rice 2020-10-05gnu: swaks: Support IPv6....* gnu/packages/mail.scm (swaks)[inputs]: Add perl-io-socket-inet6 and perl-socket6. Tobias Geerinckx-Rice 2020-09-29gnu: claws-mail: Update to 3.17.7....* gnu/packages/mail.scm (claws-mail): Update to 3.17.7. Tobias Geerinckx-Rice 2020-09-23gnu: Fix typoes in package descriptions....* gnu/packages/audio.scm (caps-plugins-lv2)[synopsis]: Fix typo. * gnu/packages/bioconductor.scm (r-karyoploter, r-anota, r-gcrma) (r-bigmemoryextras)[description]: Likewise. * gnu/packages/cran.scm (r-geometry)[synopsis]: Likewise. (r-stringdist, r-patchwork, r-depth, r-tea)[description]: Likewise. * gnu/packages/crates-io.scm (rust-assert-fs-0.11, rust-notify-4) (rust-tokio-fs-0.1)[synopsis, description]: Likewise. (rust-blas-sys-0.7)[description]: Likewise. (rust-fs-extra-1.1, rust-xattr-0.2)[synopsis]: Likewise. * gnu/packages/databases.scm (perl-mysql-config)[description]: Likewise. * gnu/packages/disk.scm (hddtemp)[description]: Likewise. * gnu/packages/django.scm (python-djangorestframework)[description]: Likewise. * gnu/packages/documentation.scm (doc++)[description]: Likewise. * gnu/packages/emacs-xyz.scm (emacs-kakoune, emacs-pyim-basedict, eless) (emacs-scpaste)[description]: Likewise. * gnu/packages/file-systems.scm (dbxfs)[description]: Likewise. * gnu/packages/finance.scm (python-stdnum)[description]: Likewise. * gnu/packages/fontutils.scm (woff2)[description]: Likewise. * gnu/packages/games.scm (openttd-opengfx)[description]: Likewise. * gnu/packages/gnome-xyz.scm (gnome-shell-extension-topicons-redux) [description]: Likewise. * gnu/packages/gnome.scm (libgrss)[description]: Likewise. * gnu/packages/golang.scm (go-github-com-mitchellh-reflectwalk) [description]: Likewise. (go-github-com-go-git-go-billy)[synopsis, description]: Likewise. * gnu/packages/haskell-check.scm (ghc-inspection-testing)[description]: Likewise. * gnu/packages/haskell-web.scm (ghc-yesod-form)[description]: Likewise. * gnu/packages/haskell-xyz.scm (ghc-hex)[description]: Likewise. * gnu/packages/hyperledger.scm (hyperledger-iroha-ed25519)[description]: Likewise. * gnu/packages/java.scm (java-mail)[synopsis]: Likewise. (java-native-access-platform)[description]: Likewise. * gnu/packages/kde-frameworks.scm (kactivities-stats)[description]: Likewise. * gnu/packages/kde-utils.scm (krusader)[description]: Likewise. * gnu/packages/language.scm (praat)[description]: Likewise. * gnu/packages/linux.scm (light)[description]: Likewise. * gnu/packages/lisp-xyz.scm (sbcl-hu.dwim.defclass-star)[description]: Likewise. * gnu/packages/mail.scm (dovecot-trees, sieve-connect)[description]: Likewise. * gnu/packages/ocaml.scm (ocaml-opam-file-format, ocaml-cppo) (ocaml4.07-ppx-variants-conv)[description]: Likewise. * gnu/packages/perl.scm (perl-convert-binhex)[description]: Likewise. * gnu/packages/python-crypto.scm (python-ecdsa)[description]: Likewise. * gnu/packages/python-web.scm (python-html5lib)[synopsis, description]: Likewise. (python-venusian)[synopsis]: Likewise. * gnu/packages/python-xyz.scm (python-readlike, python-gssapi) (python-flufl-i18n)[description]: Likewise. (python-pox, python-watchdog, python-xattr)[synopsis, description]: Likewise. * gnu/packages/ruby.scm (ruby-sorcerer)[description]: Likewise. * gnu/packages/rust-apps.scm (watchexec)[description]: Likewise. * gnu/packages/rust.scm (mrustc)[synopsis]: Likewise. * gnu/packages/shells.scm (s-shell)[description]: Likewise. * gnu/packages/ssh.scm (sshpass)[description]: Likewise. * gnu/packages/terminals.scm (beep)[description]: Likewise. * gnu/packages/web.scm (perl-lwp-useragent-cached)[description]: Likewise. * gnu/packages/wv.scm (wv)[description]: Likewise. Tobias Geerinckx-Rice 2020-09-22gnu: python-hyperkitty: Enable previously failing test....* gnu/packages/mail.scm (python-hyperkitty)[arguments]: Remove substitution. Marius Bakke 2020-09-22gnu: python-django: Update to 3.1.1....* gnu/packages/django.scm (python-django): Update to 3.1.1. [arguments]: Remove #:modules. Rename set-tzdir phase to pre-check, and disable one test. Adjust PYTHONPATH patching to preserve all entries. Ensure the test suite runs sequentially. [propagated-inputs]: Add PYTHON-ASGIREF. (python-django-2.2): New public variable. * gnu/packages/mail.scm (python-hyperkitty)[propagated-inptus]: Change from PYTHON-DJANGO to PYTHON-DJANGO-2.2. * gnu/packages/patchutils.scm (patchwork)[propagated-inputs]: Likewise. Marius Bakke 2020-09-22gnu: Remove python2-django-mailman3....This package depends on Python 2 which is past end-of-life and not supported by newer versions of Django. * gnu/packages/mail.scm (python2-django-mailman3): Remove variable. (python-django-mailman3)[properties]: Remove. Marius Bakke 2020-09-16gnu: mailutils: Fix unitialized variable in readmsg....Fixes <https://bugs.gnu.org/43088>. * gnu/packages/patches/mailutils-fix-uninitialized-variable.patch: New file. * gnu/packages/mail.scm (mailutils)[source]: Add patch. * gnu/local.mk (dist_patch_DATA): Register patch. Pierre Langlois 2020-09-14gnu: Add ripmime....* gnu/packages/mail.scm (ripmime): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Sébastien Lerique 2020-09-14gnu: Add altermime....* gnu/packages/mail.scm (altermime): New variable. Ricardo Wurmus 2020-09-11Revert "gnu: dovecot: Set moduledir to global directory."...This reverts commit db0109be42547d5dbb0fc1eb8ae30ccc968ed88b. Same reason as commit d9d88c2ff0d367599d0a851ccf9377c4e21079d6. Tobias Geerinckx-Rice 2020-09-11gnu: libetpan: Update to 1.9.4....* gnu/packages/mail.scm (libetpan): Update to 1.9.4. Tobias Geerinckx-Rice 2020-09-11gnu: fetchmail: Update to 6.4.12....* gnu/packages/mail.scm (fetchmail): Update to 6.4.12. Tobias Geerinckx-Rice 2020-09-09gnu: dovecot: Set moduledir to global directory....* gnu/packages/mail.scm (dovecot)[arguments]: Add configure-flag to set moduledir. Adjust custom 'install phase to override moduledir so it successfully installs. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Efraim Flashner 2020-09-07gnu: notmuch: Update to 0.31....* gnu/packages/mail.scm (notmuch): Update to 0.31. [source]: Remove the workarounds that were temporarily needed to cope with the tilde ("~") in the upstream "~rc" version number. Mark H Weaver 2020-09-02gnu: Add sieve-connect....* gnu/packages/mail.scm (sieve-connect): New public variable. Tobias Geerinckx-Rice