python312Packages.quart-cors: modernize
This commit is contained in:
@@ -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" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user