From 6cd4937bf5bb0ba92bb5a5300b67d522d825d092 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 20 Dec 2024 15:46:06 +0100 Subject: [PATCH] python312Packages.pytorch-lightning: 2.4.0 -> 2.5.0.post0 Diff: https://github.com/Lightning-AI/pytorch-lightning/compare/refs/tags/2.4.0...2.5.0.post0 Changelog: https://github.com/Lightning-AI/pytorch-lightning/releases/tag/2.5.0 --- .../python-modules/pytorch-lightning/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytorch-lightning/default.nix b/pkgs/development/python-modules/pytorch-lightning/default.nix index b23ea7188d10..0ba5f707f355 100644 --- a/pkgs/development/python-modules/pytorch-lightning/default.nix +++ b/pkgs/development/python-modules/pytorch-lightning/default.nix @@ -25,14 +25,14 @@ buildPythonPackage rec { pname = "pytorch-lightning"; - version = "2.4.0"; + version = "2.5.0.post0"; pyproject = true; src = fetchFromGitHub { owner = "Lightning-AI"; repo = "pytorch-lightning"; - rev = "refs/tags/${version}"; - hash = "sha256-FngD3nYTGVEjS1VrXAVps2/B8VlS7BZMDAsmIDtAyW0="; + tag = version; + hash = "sha256-TkwDncyfv1VoV/IErUgF4p0Or5PJbwKoABqo1xXGLVg="; }; preConfigure = '' @@ -68,7 +68,7 @@ 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/${lib.removePrefix "refs/tags/" src.rev}"; + changelog = "https://github.com/Lightning-AI/pytorch-lightning/releases/tag/${src.tag}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ tbenst ]; };