From 7417abd40851dc66e480f258e6ca837a31deab15 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 31 Jan 2026 19:58:44 +0000 Subject: [PATCH] python3Packages.pytorch-lightning: 2.6.0 -> 2.6.1 Diff: https://github.com/Lightning-AI/pytorch-lightning/compare/2.6.0...2.6.1 Changelog: https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.6.1 --- .../python-modules/pytorch-lightning/default.nix | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index fd46a69c14ef..7f9ee391f965 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -22,21 +22,19 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytorch-lightning"; - version = "2.6.0"; + version = "2.6.1"; pyproject = true; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "pytorch-lightning"; - tag = version; - hash = "sha256-zmFA9/tz0C06LmQ37wHeoR1kBHKdoz/D1cKWMoeWHzs="; + tag = finalAttrs.version; + hash = "sha256-zOSV2X3yZy0uh1lJ2yNl/hHBvfIDcIrATHtiRwThsQA="; }; - preConfigure = '' - export PACKAGE_NAME=pytorch - ''; + env.PACKAGE_NAME = "pytorch"; build-system = [ setuptools ]; @@ -67,8 +65,8 @@ buildPythonPackage rec { meta = { description = "Lightweight PyTorch wrapper for machine learning researchers"; homepage = "https://github.com/Lightning-AI/pytorch-lightning"; - changelog = "https://github.com/Lightning-AI/pytorch-lightning/releases/tag/${src.tag}"; + changelog = "https://github.com/Lightning-AI/pytorch-lightning/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ tbenst ]; }; -} +})