From 2216e15cc310a52026adb3542897b4221c793d55 Mon Sep 17 00:00:00 2001 From: 宋文武 Date: Wed, 13 Jan 2016 09:21:56 +0800 Subject: gnu: Add python-args. * gnu/packages.scm (python-args, python2-args): New variables. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index c3e9f42ec1..40f086432f 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -6962,3 +6962,25 @@ files for use with Python.") Blog, News or Announcements section to a Sphinx website.") (home-page "https://bitbucket.org/prometheus/sphinxcontrib-newsfeed") (license bsd-2))) + +(define-public python-args + (package + (name "python-args") + (version "0.1.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "args" version)) + (sha256 + (base32 + "057qzi46h5dmxdqknsbrssn78lmqjlnm624iqdhrnpk26zcbi1d7")))) + (build-system python-build-system) + (inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "https://github.com/kennethreitz/args") + (synopsis "Command-line argument parser") + (description + "This library provides a Python module to parse command-line arguments.") + (license bsd-3))) + +(define-public python2-args + (package-with-python2 python-args)) -- cgit v1.2.3