about summary refs log tree commit diff
path: root/pkgs/development/python-modules/awkward/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/awkward/default.nix')
-rw-r--r--pkgs/development/python-modules/awkward/default.nix114
1 files changed, 57 insertions, 57 deletions
diff --git a/pkgs/development/python-modules/awkward/default.nix b/pkgs/development/python-modules/awkward/default.nix
index d347b623d4077..f7f613148f9e5 100644
--- a/pkgs/development/python-modules/awkward/default.nix
+++ b/pkgs/development/python-modules/awkward/default.nix
@@ -1,30 +1,31 @@
-{ lib
-, fsspec
-, stdenv
-, buildPythonPackage
-, pythonOlder
-, fetchFromGitHub
-, hatch-fancy-pypi-readme
-, hatchling
-, awkward-cpp
-, importlib-metadata
-, numpy
-, packaging
-, typing-extensions
-, jax
-, jaxlib
-, numba
-, setuptools
-, numexpr
-, pandas
-, pyarrow
-, pytest-xdist
-, pytestCheckHook
+{
+  lib,
+  fsspec,
+  stdenv,
+  buildPythonPackage,
+  pythonOlder,
+  fetchFromGitHub,
+  hatch-fancy-pypi-readme,
+  hatchling,
+  awkward-cpp,
+  importlib-metadata,
+  numpy,
+  packaging,
+  typing-extensions,
+  jax,
+  jaxlib,
+  numba,
+  setuptools,
+  numexpr,
+  pandas,
+  pyarrow,
+  pytest-xdist,
+  pytestCheckHook,
 }:
 
 buildPythonPackage rec {
   pname = "awkward";
-  version = "2.6.3";
+  version = "2.6.5";
   pyproject = true;
 
   disabled = pythonOlder "3.8";
@@ -33,58 +34,57 @@ buildPythonPackage rec {
     owner = "scikit-hep";
     repo = "awkward";
     rev = "refs/tags/v${version}";
-    hash = "sha256-zII5TZ0bzVEo5hTrLr45N7oL3lYhkCyNfZif+0vkEo4=";
+    hash = "sha256-HDO626bK5BH/mdLuGkeYIOz8X2N9/rkTLhQNzG1erYA=";
   };
 
-  nativeBuildInputs = [
+  build-system = [
     hatch-fancy-pypi-readme
     hatchling
   ];
 
-  propagatedBuildInputs = [
-    awkward-cpp
-    fsspec
-    importlib-metadata
-    numpy
-    packaging
-  ] ++ lib.optionals (pythonOlder "3.11") [
-    typing-extensions
-  ] ++ lib.optionals (pythonOlder "3.12") [
-    importlib-metadata
-  ];
+  dependencies =
+    [
+      awkward-cpp
+      fsspec
+      importlib-metadata
+      numpy
+      packaging
+    ]
+    ++ lib.optionals (pythonOlder "3.11") [ typing-extensions ]
+    ++ lib.optionals (pythonOlder "3.12") [ importlib-metadata ];
 
   dontUseCmakeConfigure = true;
 
   pythonImportsCheck = [ "awkward" ];
 
-  nativeCheckInputs = [
-    fsspec
-    numba
-    setuptools
-    numexpr
-    pandas
-    pyarrow
-    pytest-xdist
-    pytestCheckHook
-  ] ++ lib.optionals (!stdenv.isDarwin) [
-    # no support for darwin
-    jax
-    jaxlib
-  ];
+  nativeCheckInputs =
+    [
+      fsspec
+      numba
+      setuptools
+      numexpr
+      pandas
+      pyarrow
+      pytest-xdist
+      pytestCheckHook
+    ]
+    ++ lib.optionals (!stdenv.isDarwin) [
+      # no support for darwin
+      jax
+      jaxlib
+    ];
 
   # The following tests have been disabled because they need to be run on a GPU platform.
   disabledTestPaths = [
     "tests-cuda"
-  # Disable tests dependending on jax on darwin
-  ] ++ lib.optionals stdenv.isDarwin [
-    "tests/test_2603_custom_behaviors_with_jax.py"
-  ];
+    # Disable tests dependending on jax on darwin
+  ] ++ lib.optionals stdenv.isDarwin [ "tests/test_2603_custom_behaviors_with_jax.py" ];
 
-  meta = with lib; {
+  meta = {
     description = "Manipulate JSON-like data with NumPy-like idioms";
     homepage = "https://github.com/scikit-hep/awkward";
     changelog = "https://github.com/scikit-hep/awkward/releases/tag/v${version}";
-    license = licenses.bsd3;
-    maintainers = with maintainers; [ veprbl ];
+    license = lib.licenses.bsd3;
+    maintainers = with lib.maintainers; [ veprbl ];
   };
 }