diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2024-01-24 23:35:06 +0100 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2024-01-24 23:35:15 +0100 |
| commit | db13078c99dae9d1335eabb42b7ee9581f8c832c (patch) | |
| tree | 8838c09150765fa51636be1c732a747364c87288 | |
| parent | daad62a63d5af2dd0ab809abaf399ca6af6ef9e7 (diff) | |
python: Add python-simple-parsing.
* guix-science/packages/python.scm (python-simple-parsing): New variable.
| -rw-r--r-- | guix-science/packages/python.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/guix-science/packages/python.scm b/guix-science/packages/python.scm index 6cbbf1a..d27aa81 100644 --- a/guix-science/packages/python.scm +++ b/guix-science/packages/python.scm | |||
| @@ -101,6 +101,34 @@ | |||
| 101 | utilities.") | 101 | utilities.") |
| 102 | (license license:asl2.0))) | 102 | (license license:asl2.0))) |
| 103 | 103 | ||
| 104 | (define-public python-simple-parsing | ||
| 105 | (package | ||
| 106 | (name "python-simple-parsing") | ||
| 107 | (version "0.1.4") | ||
| 108 | (source | ||
| 109 | (origin | ||
| 110 | (method url-fetch) | ||
| 111 | (uri (pypi-uri "simple_parsing" version)) | ||
| 112 | (sha256 | ||
| 113 | (base32 "1s0s6hc6qz66x4rzfrnshf5vwdfk7d1015a1nrhyn2wgglr008ri")))) | ||
| 114 | (build-system pyproject-build-system) | ||
| 115 | ;; TODO: There is some sort of path issue, because most tests fail | ||
| 116 | ;; outright with this error: ImportError: attempted relative | ||
| 117 | ;; import with no known parent package | ||
| 118 | (arguments (list #:tests? #false)) | ||
| 119 | (propagated-inputs | ||
| 120 | (list python-docstring-parser python-typing-extensions)) | ||
| 121 | (native-inputs | ||
| 122 | (list python-numpy python-pytest python-pytest-benchmark | ||
| 123 | python-pytest-regressions python-pytest-xdist)) | ||
| 124 | (home-page "https://github.com/lebrice/SimpleParsing") | ||
| 125 | (synopsis | ||
| 126 | "Utility for simplifying and cleaning up argument parsing scripts") | ||
| 127 | (description | ||
| 128 | "This package provides a small utility for simplifying and | ||
| 129 | cleaning up argument parsing scripts.") | ||
| 130 | (license license:expat))) | ||
| 131 | |||
| 104 | (define-public python-morfessor | 132 | (define-public python-morfessor |
| 105 | (package | 133 | (package |
| 106 | (name "python-morfessor") | 134 | (name "python-morfessor") |
