mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
python3Packages.flask-cors: 6.0.2 -> 6.0.5 (#533365)
This commit is contained in:
commit
4e5c3c6686
1 changed files with 10 additions and 6 deletions
|
|
@ -6,26 +6,28 @@
|
|||
werkzeug,
|
||||
pytestCheckHook,
|
||||
setuptools,
|
||||
setuptools-scm,
|
||||
|
||||
# for passthru.tests
|
||||
aiobotocore,
|
||||
moto,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "flask-cors";
|
||||
version = "6.0.2";
|
||||
version = "6.0.5";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "corydolphin";
|
||||
repo = "flask-cors";
|
||||
tag = version;
|
||||
hash = "sha256-9WlD5Qd0WiBDrVHf5nT1qAK2gtYavlPnY7qFkiAgxws=";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-fngKJm7/7BMcWPPFncTCWw2sL1UJ0t4ICpXr95yNpbg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
setuptools-scm
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
|
|
@ -33,6 +35,8 @@ buildPythonPackage rec {
|
|||
werkzeug
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "flask_cors" ];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
];
|
||||
|
|
@ -44,8 +48,8 @@ buildPythonPackage rec {
|
|||
meta = {
|
||||
description = "Flask extension adding a decorator for CORS support";
|
||||
homepage = "https://github.com/corydolphin/flask-cors";
|
||||
changelog = "https://github.com/corydolphin/flask-cors/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/corydolphin/flask-cors/releases/tag/${finalAttrs.src.tag}";
|
||||
license = with lib.licenses; [ mit ];
|
||||
maintainers = with lib.maintainers; [ nickcao ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue