From 0aed334603b6fcd9135f6444ee0bb5c5ec4bcc40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Tue, 11 Feb 2025 19:39:23 -0800 Subject: [PATCH] python313Packages.h5netcdf: 1.4.1 -> 1.5.0 Changelog: https://github.com/h5netcdf/h5netcdf/releases/tag/v1.5.0 --- .../python-modules/h5netcdf/default.nix | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/h5netcdf/default.nix b/pkgs/development/python-modules/h5netcdf/default.nix index 30693abfd054..722f5b17a8f8 100644 --- a/pkgs/development/python-modules/h5netcdf/default.nix +++ b/pkgs/development/python-modules/h5netcdf/default.nix @@ -1,7 +1,7 @@ { lib, buildPythonPackage, - fetchPypi, + fetchFromGitHub, h5py, pytestCheckHook, netcdf4, @@ -12,22 +12,22 @@ buildPythonPackage rec { pname = "h5netcdf"; - version = "1.4.1"; - format = "pyproject"; + version = "1.5.0"; + pyproject = true; - disabled = pythonOlder "3.9"; - - src = fetchPypi { - inherit pname version; - hash = "sha256-fIQBq4B/83yXmO3JDZlGdZWJLmxUGl1avrj1OqtTNf4="; + src = fetchFromGitHub { + owner = "h5netcdf"; + repo = "h5netcdf"; + tag = "v${version}"; + hash = "sha256-fhLL8/XgYQmdHckh5xhYvnlc+MTIc2wcTOZaohFFGlk="; }; - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ h5py ]; + dependencies = [ h5py ]; nativeCheckInputs = [ pytestCheckHook @@ -39,9 +39,9 @@ buildPythonPackage rec { pythonImportsCheck = [ "h5netcdf" ]; meta = with lib; { - description = "netCDF4 via h5py"; + description = "Pythonic interface to netCDF4 via h5py"; homepage = "https://github.com/shoyer/h5netcdf"; - changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/v${version}"; + changelog = "https://github.com/h5netcdf/h5netcdf/releases/tag/${src.tag}"; license = licenses.bsd3; maintainers = [ ]; };