From 052bab367d26afb939043e5b290822110f57b729 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 24 Aug 2024 18:50:26 +0200 Subject: [PATCH] python312Packages.quart-cors: modernize --- pkgs/development/python-modules/quart-cors/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/quart-cors/default.nix b/pkgs/development/python-modules/quart-cors/default.nix index a9b92612366f..9299487aa732 100644 --- a/pkgs/development/python-modules/quart-cors/default.nix +++ b/pkgs/development/python-modules/quart-cors/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { pname = "quart-cors"; version = "0.7.0"; - format = "pyproject"; + pyproject = true; src = fetchFromGitHub { owner = "pgjones"; @@ -29,9 +29,9 @@ buildPythonPackage rec { hash = "sha256-qUzs0CTZHf3fGADBXPkd3CjZ6dnz1t3cTxflMErvz/k="; }; - nativeBuildInputs = [ poetry-core ]; + build-system = [ poetry-core ]; - propagatedBuildInputs = [ quart ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ]; + dependencies = [ quart ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ]; pythonImportsCheck = [ "quart_cors" ];