diff options
author | 宋文武 <iyzsong@gmail.com> | 2016-06-23 23:08:14 +0800 |
---|---|---|
committer | 宋文武 <iyzsong@gmail.com> | 2016-06-25 20:49:59 +0800 |
commit | 1f2b62a4fa6953eabce5b37462ee7de179cda71b (patch) | |
tree | bff37b928f485cd7c6595e34a125caab09876ed0 /gnu/packages/python.scm | |
parent | ae43baa890cf7957b87f8218263cc8ac95343c58 (diff) | |
download | guix-1f2b62a4fa6953eabce5b37462ee7de179cda71b.tar.gz guix-1f2b62a4fa6953eabce5b37462ee7de179cda71b.zip |
gnu: Add python-inflection and python2-inflection.
* gnu/packages/python.scm (python-inflection, python2-inflection):
New variables.
Diffstat (limited to 'gnu/packages/python.scm')
-rw-r--r-- | gnu/packages/python.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 6e30377005..ced8232061 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9344,3 +9344,27 @@ datetime type.") (define-public python2-arrow (package-with-python2 python-arrow)) +(define-public python-inflection + (package + (name "python-inflection") + (version "0.3.1") + (source + (origin (method url-fetch) + (uri (pypi-uri "inflection" version)) + (sha256 + (base32 + "1jhnxgnw8y3mbzjssixh6qkc7a3afc4fygajhqrqalnilyvpzshq")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://github.com/jpvanhal/inflection") + (synopsis "Python string transformation library") + (description + "Inflection is a string transformation library. It singularizes +and pluralizes English words, and transforms strings from CamelCase to +underscored string.") + (license license:expat))) + +(define-public python2-inflection + (package-with-python2 python-inflection)) + |