From bfe66c1052b242651696f7d8abb488a0bd49152f Mon Sep 17 00:00:00 2001 From: Timo Gottszky Date: Thu, 4 Jun 2026 20:56:24 +0200 Subject: [PATCH] python3Packages.executor: migrate from rec to finalAttrs --- pkgs/development/python-modules/executor/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/executor/default.nix b/pkgs/development/python-modules/executor/default.nix index 94629f6b0f43..dd057870b7c1 100644 --- a/pkgs/development/python-modules/executor/default.nix +++ b/pkgs/development/python-modules/executor/default.nix @@ -14,7 +14,7 @@ virtualenv, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "executor"; version = "23.2"; pyproject = true; @@ -25,7 +25,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "xolox"; repo = "python-executor"; - tag = version; + tag = finalAttrs.version; hash = "sha256-Gjv+sUtnP11cM8GMGkFzXHVx0c2XXSU56L/QwoQxINc="; }; @@ -59,11 +59,11 @@ buildPythonPackage rec { ]; meta = { - changelog = "https://github.com/xolox/python-executor/blob/${version}/CHANGELOG.rst"; + changelog = "https://github.com/xolox/python-executor/blob/${finalAttrs.version}/CHANGELOG.rst"; description = "Programmer friendly subprocess wrapper"; mainProgram = "executor"; homepage = "https://github.com/xolox/python-executor"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ eyjhb ]; }; -} +})