diff options
| author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-12-17 15:54:57 +0900 |
|---|---|---|
| committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2024-12-17 23:43:58 +0900 |
| commit | 933f2ca76acd8da03880569684cf10a4b3094a60 (patch) | |
| tree | 6dbfa382c46dfaa726e503f9deb100c150151622 /gnu/packages/python-science.scm | |
| parent | f04d44562fde5bb96d820e14dc7129c26d0a4bd8 (diff) | |
gnu: Add python-ndindex.
Adapted from <https://raw.githubusercontent.com/Blosc/python-blosc2/refs/heads/main/.guix/modules/python-blosc2-package.scm>.
* gnu/packages/python-science.scm (python-ndindex): New variable.
Co-authored-by: Ivan Vilata i Balaguer <ivan@selidor.net>
Change-Id: I38fbcbd8859c2ddbfdd39e8d84a63b20deef75c4
Diffstat (limited to 'gnu/packages/python-science.scm')
| -rw-r--r-- | gnu/packages/python-science.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 05c6ac1fc13..1aaf52d3f5b 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm | |||
| @@ -1012,6 +1012,30 @@ Evapotranspiration using various standard methods.") | |||
| 1012 | tissue-specificity metrics for gene expression.") | 1012 | tissue-specificity metrics for gene expression.") |
| 1013 | (license license:gpl3+))) | 1013 | (license license:gpl3+))) |
| 1014 | 1014 | ||
| 1015 | (define-public python-ndindex | ||
| 1016 | (package | ||
| 1017 | (name "python-ndindex") | ||
| 1018 | (version "1.7") ;newer versions require a newer numpy | ||
| 1019 | (source | ||
| 1020 | (origin | ||
| 1021 | (method url-fetch) | ||
| 1022 | (uri (pypi-uri "ndindex" version)) | ||
| 1023 | (sha256 | ||
| 1024 | (base32 "1lpgsagmgxzsas7g8yiv6wmyss8q57w92h70fn11rnpadsvx16xz")))) | ||
| 1025 | (build-system pyproject-build-system) | ||
| 1026 | (arguments (list #:test-flags #~(list "-c" "/dev/null"))) ;avoid coverage | ||
| 1027 | (native-inputs | ||
| 1028 | (list python-cython | ||
| 1029 | python-numpy | ||
| 1030 | python-pytest | ||
| 1031 | python-setuptools | ||
| 1032 | python-wheel)) | ||
| 1033 | (home-page "https://quansight-labs.github.io/ndindex/") | ||
| 1034 | (synopsis "Python library for manipulating indices of ndarrays") | ||
| 1035 | (description "This package provides a Python library for manipulating | ||
| 1036 | indices of @code{ndarrays}.") | ||
| 1037 | (license license:expat))) | ||
| 1038 | |||
| 1015 | (define-public python-pandas-1 | 1039 | (define-public python-pandas-1 |
| 1016 | (package | 1040 | (package |
| 1017 | (name "python-pandas") | 1041 | (name "python-pandas") |
