From 505035c6481f5bb33c333cf80043e0bf017b9db9 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 11 Sep 2024 07:47:17 +0200 Subject: [PATCH] python312Packages.cf-xarray: 0.9.4 -> 0.9.5 Diff: https://github.com/xarray-contrib/cf-xarray/compare/refs/tags/v0.9.4...v0.9.5 Changelog: https://github.com/xarray-contrib/cf-xarray/releases/tag/v0.9.5 --- pkgs/development/python-modules/cf-xarray/default.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/cf-xarray/default.nix b/pkgs/development/python-modules/cf-xarray/default.nix index 49bf0b39adf5..a60f3f0e4aef 100644 --- a/pkgs/development/python-modules/cf-xarray/default.nix +++ b/pkgs/development/python-modules/cf-xarray/default.nix @@ -1,7 +1,6 @@ { lib, buildPythonPackage, - pythonOlder, fetchFromGitHub, # build-system @@ -25,16 +24,14 @@ buildPythonPackage rec { pname = "cf-xarray"; - version = "0.9.4"; + version = "0.9.5"; pyproject = true; - disabled = pythonOlder "3.9"; - src = fetchFromGitHub { owner = "xarray-contrib"; repo = "cf-xarray"; rev = "refs/tags/v${version}"; - hash = "sha256-zio00ki86DZqWtGnVseDR28He4DW1jjKdwfsxRwFDfg="; + hash = "sha256-Rz0E7GBaN/7zb0dqAxo0SJ4Bd+eQuOOv6x1WubIUh6A="; }; build-system = [ @@ -45,7 +42,7 @@ buildPythonPackage rec { dependencies = [ xarray ]; - passthru.optional-dependencies = { + optional-dependencies = { all = [ matplotlib pint @@ -60,7 +57,7 @@ buildPythonPackage rec { dask pytestCheckHook scipy - ] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies); + ] ++ lib.flatten (builtins.attrValues optional-dependencies); pythonImportsCheck = [ "cf_xarray" ];