* gnu/packages/python.scm (python-appdirs, python2-appdirs): New variables. --- gnu/packages/python.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+)
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 940efec..7f48b5b 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -4629,3 +4629,32 @@ term.js Javascript terminal emulator library.") ,python2-backport-ssl-match-hostname) ,@(alist-delete "python-tornado" (package-propagated-inputs terminado))))))) + +(define-public python-appdirs + (package + (name "python-appdirs") + (version "1.4.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://pypi.python.org/packages/source/a/appdirs/appdirs-" + version + ".tar.gz")) + (sha256 + (base32 + "1iddva7v3fq0aqzsahkazxr7vpw28mqcrsy818z4wyiqnkplbhlg")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://github.com/ActiveState/appdirs") + (synopsis + "A small Python module for determining appropriate platform-specific +dirs, e.g. a \"user data dir\".") + (description + "This module provides an portable way of finding out where user data +should be stored on various operating systems.") + (license license:expat))) + +(define-public python2-appdirs + (package-with-python2 python-appdirs)) -- 2.1.4