20 buildPythonPackage rec {
25 src = fetchFromGitHub {
28 rev = "refs/tags/${version}";
29 hash = "sha256-qUzs0CTZHf3fGADBXPkd3CjZ6dnz1t3cTxflMErvz/k=";
32 build-system = [ poetry-core ];
34 dependencies = [ quart ] ++ lib.optionals (pythonOlder "3.10") [ typing-extensions ];
36 pythonImportsCheck = [ "quart_cors" ];
45 description = "Quart-CORS is an extension for Quart to enable and control Cross Origin Resource Sharing, CORS";
46 homepage = "https://github.com/pgjones/quart-cors/";
47 changelog = "https://github.com/pgjones/quart-cors/blob/${src.rev}/CHANGELOG.rst";
48 license = licenses.mit;
49 maintainers = with maintainers; [ hexa ];