diff options
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b2286c566db..1a353af11e1 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -1941,6 +1941,19 @@ between dataframe libraries. @end itemize") (license license:expat))) +;; A bare minimal package, mainly to use in tests and reduce closure +;; size. Tests are left out in the main package to slim down native-inputs. +(define-public python-narwhals-minimal + (package/inherit python-narwhals + (name "python-narwhals-minimal") + (arguments + (substitute-keyword-arguments (package-arguments python-anndata) + ((#:tests? _ #t) #f))) + (native-inputs + (list python-hatchling)) + ;; All Narwals dependencies are optional. + (propagated-inputs '()))) + (define-public python-ndindex (package (name "python-ndindex") |
