~ruther/guix-local

933f2ca76acd8da03880569684cf10a4b3094a60 — Maxim Cournoyer 1 year, 5 months ago f04d445
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
1 files changed, 24 insertions(+), 0 deletions(-)

M gnu/packages/python-science.scm
M gnu/packages/python-science.scm => gnu/packages/python-science.scm +24 -0
@@ 1012,6 1012,30 @@ Evapotranspiration using various standard methods.")
tissue-specificity metrics for gene expression.")
    (license license:gpl3+)))

(define-public python-ndindex
  (package
    (name "python-ndindex")
    (version "1.7")                     ;newer versions require a newer numpy
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "ndindex" version))
       (sha256
        (base32 "1lpgsagmgxzsas7g8yiv6wmyss8q57w92h70fn11rnpadsvx16xz"))))
    (build-system pyproject-build-system)
    (arguments (list #:test-flags #~(list "-c" "/dev/null"))) ;avoid coverage
    (native-inputs
     (list python-cython
           python-numpy
           python-pytest
           python-setuptools
           python-wheel))
    (home-page "https://quansight-labs.github.io/ndindex/")
    (synopsis "Python library for manipulating indices of ndarrays")
    (description "This package provides a Python library for manipulating
indices of @code{ndarrays}.")
    (license license:expat)))

(define-public python-pandas-1
  (package
    (name "python-pandas")