diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2025-07-22 01:26:47 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-07-25 11:32:10 +0100 |
| commit | 682dedf4790a4e284ae117d481b334f04ca4ecfa (patch) | |
| tree | 81b5c448fe68eca348d2e613774269dfce5ffabe /gnu/packages/python-xyz.scm | |
| parent | b31de4d4d7ec5199c4f5923a96a3e9cced8c2507 (diff) | |
gnu: python-args: Improve style.
* gnu/packages/python-xyz.scm (python-args): Run guix style.
Change-Id: I291da2a8d3edc23cab7d760d74b657da781d4253
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/packages/python-xyz.scm')
| -rw-r--r-- | gnu/packages/python-xyz.scm | 36 |
1 files changed, 20 insertions, 16 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 6bf0095fcc..51a7168874 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20122,28 +20122,32 @@ minimal and fast API targeting the following uses: (license license:bsd-2))) (define-public python-args - (let ((commit "9460f1a35eb3055e9e4de1f0a6932e0883c72d65") (revision "0")) + (let ((commit "9460f1a35eb3055e9e4de1f0a6932e0883c72d65") + (revision "0")) (package (name "python-args") (version (git-version "0.1.0" revision commit)) - (home-page "https://github.com/kennethreitz-archive/args") - (source (origin - (method git-fetch) - (uri (git-reference - (url home-page) - (commit commit))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "1zfxpbp9vldqdrjmd0c6y3wisl35mx5v8zlyp3nhwpy1730wrc9j")))) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/kennethreitz-archive/args") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1zfxpbp9vldqdrjmd0c6y3wisl35mx5v8zlyp3nhwpy1730wrc9j")))) (build-system pyproject-build-system) (arguments - `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'patch-args.py - (lambda _ - (substitute* "args.py" - (("basestring") "str"))))))) + (list + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-args.py + (lambda _ + (substitute* "args.py" + (("basestring") + "str"))))))) (native-inputs (list python-nose python-setuptools python-wheel)) + (home-page "https://github.com/kennethreitz-archive/args") (synopsis "Command-line argument parser") (description "This library provides a Python module to parse command-line arguments.") |
