From 0c3441fa08418895ced3091c4cac58b55d760fea Mon Sep 17 00:00:00 2001 From: Harinn Date: Thu, 4 Jun 2026 19:16:23 +0700 Subject: [PATCH] python3Packages.apcaccess: modernize --- pkgs/development/python-modules/apcaccess/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/apcaccess/default.nix b/pkgs/development/python-modules/apcaccess/default.nix index 1fc9b155d61f..7b38dca90067 100644 --- a/pkgs/development/python-modules/apcaccess/default.nix +++ b/pkgs/development/python-modules/apcaccess/default.nix @@ -6,7 +6,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "apcaccess"; version = "0.0.13"; pyproject = true; @@ -14,13 +14,13 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "flyte"; repo = "apcaccess"; - rev = version; + tag = finalAttrs.version; hash = "sha256-XLoNRh6MgXCfRtWD9NpVZSyroW6E9nRYw6Grxa+AQkc="; }; postPatch = '' substituteInPlace setup.py \ - --replace "setup_requires='pytest-runner'," "" + --replace-fail "setup_requires='pytest-runner'," "" ''; build-system = [ setuptools ]; @@ -36,4 +36,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ uvnikita ]; }; -} +})