From 18ca45c49b764bf20312491e2a5f97641c7be501 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Fri, 3 May 2024 01:28:55 +0200 Subject: [PATCH] python312Packages.heatzypy: refactor --- pkgs/development/python-modules/heatzypy/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/heatzypy/default.nix b/pkgs/development/python-modules/heatzypy/default.nix index e2b903404364..ecacab2260ef 100644 --- a/pkgs/development/python-modules/heatzypy/default.nix +++ b/pkgs/development/python-modules/heatzypy/default.nix @@ -2,7 +2,6 @@ , aiohttp , buildPythonPackage , fetchFromGitHub -, requests , pytestCheckHook , pythonOlder , setuptools @@ -23,19 +22,13 @@ buildPythonPackage rec { hash = "sha256-A01e3duNQmVv9vyOs6+gF/BdevLiYi/uXSq5bKmuRao="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace "replace_by_workflow" "${version}" - ''; - - nativeBuildInputs = [ + build-system = [ setuptools setuptools-scm ]; - propagatedBuildInputs = [ + dependencies = [ aiohttp - requests ]; # Module has no tests