From a3ff747a48d01588d6bcc71787d7c7bd431c9cf3 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Tue, 30 Apr 2024 23:19:48 +0200 Subject: gnu: Add python-awkward. * gnu/packages/python-xyz.scm (python-awkward): New variable. Change-Id: Ie4f9b12d3662b9029f6e042f9c3a4d547073a6e7 --- gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index c550759628..9d01ac4711 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -362,6 +362,39 @@ (define-public python-awkward-cpp package. It is not useful on its own, only as a dependency for awkward.") (license license:bsd-3))) +(define-public python-awkward + (package + (name "python-awkward") + (version "2.6.3") + (source + (origin + (method url-fetch) + (uri (pypi-uri "awkward" version)) + (sha256 + (base32 "1s280ndr4r2q9qn9c0slan5zw37p41cx8q5z6k6p988afr01c6j8")))) + (build-system pyproject-build-system) + (arguments + (list + #:test-flags + ;; CUDA is and requires proprietary software. + '(list "--ignore-glob=tests-cuda**"))) + (propagated-inputs (list python-awkward-cpp + python-fsspec + python-importlib-metadata + python-numpy + python-packaging + python-typing-extensions)) + (native-inputs + (list python-hatch-fancy-pypi-readme + python-hatchling + python-pytest)) + (home-page "https://github.com/scikit-hep/awkward-1.0") + (synopsis "Manipulate JSON-like data with NumPy-like idioms") + (description "Awkward Array is a library for nested, variable-sized data, +including arbitrary-length lists, records, mixed types, and missing data, +using NumPy-like idioms.") + (license license:bsd-3))) + (define-public python-xmldiff (package (name "python-xmldiff") -- cgit v1.2.3