aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/iso-codes.scm
diff options
context:
space:
mode:
authorOleg Pykhalov <go.wigust@gmail.com>2018-01-19 23:09:05 +0300
committerOleg Pykhalov <go.wigust@gmail.com>2018-01-25 00:33:57 +0300
commitda061b84d65b6365ae673114fbbd1dd738a9df5b (patch)
tree85abe472008f6aab67f7661d7d4a0786dd7e6857 /gnu/packages/iso-codes.scm
parent3cf3836244c4fc49ff4d4513509b9d9f55ceda66 (diff)
downloadpatches-da061b84d65b6365ae673114fbbd1dd738a9df5b.tar
patches-da061b84d65b6365ae673114fbbd1dd738a9df5b.tar.gz
gnu: Add python-iso3166.
* gnu/packages/iso-codes.scm (python-iso3166): New public variable.
Diffstat (limited to 'gnu/packages/iso-codes.scm')
-rw-r--r--gnu/packages/iso-codes.scm20
1 files changed, 20 insertions, 0 deletions
diff --git a/gnu/packages/iso-codes.scm b/gnu/packages/iso-codes.scm
index 929bb58268..9f67cf2868 100644
--- a/gnu/packages/iso-codes.scm
+++ b/gnu/packages/iso-codes.scm
@@ -87,3 +87,23 @@ groups.")
(define-public python2-iso639
(package-with-python2 python-iso639))
+
+(define-public python-iso3166
+ (package
+ (name "python-iso3166")
+ (version "0.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "iso3166" version))
+ (sha256
+ (base32
+ "0cs9w507dj93jj9z9di93lx2fplf8pma4jkrsvvb258dv6z1gszv"))))
+ (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)))
+
+(define-public python2-iso3166
+ (package-with-python2 python-iso3166))