18 buildPythonPackage rec {
23 src = fetchFromGitHub {
26 rev = "refs/tags/${version}";
27 hash = "sha256-qUzs0CTZHf3fGADBXPkd3CjZ6dnz1t3cTxflMErvz/k=";
35 substituteInPlace pyproject.toml \
36 --replace "--no-cov-on-fail " ""
39 propagatedBuildInputs = [
41 ] ++ lib.optionals (pythonOlder "3.10") [
45 pythonImportsCheck = [
55 description = "Quart-CORS is an extension for Quart to enable and control Cross Origin Resource Sharing, CORS";
56 homepage = "https://github.com/pgjones/quart-cors/";
57 changelog = "https://github.com/pgjones/quart-cors/blob/${src.rev}/CHANGELOG.rst";
58 license = licenses.mit;
59 maintainers = with maintainers; [ hexa ];