python310Packages.flask-marshmallow: 0.14.0 -> 0.15.0
This commit is contained in:
parent
79ce52869d
commit
d308a20c2a
@ -1,24 +1,55 @@
|
||||
{ lib, buildPythonPackage, fetchPypi,
|
||||
flask, six, marshmallow
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, flask
|
||||
, marshmallow
|
||||
, packaging
|
||||
, pytestCheckHook
|
||||
, flask-sqlalchemy
|
||||
, marshmallow-sqlalchemy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "flask-marshmallow";
|
||||
version = "0.14.0";
|
||||
version = "0.15.0";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "marshmallow-code";
|
||||
repo = "flask-marshmallow";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-N21M/MzcvOaDh5BgbbZtNcpRAULtWGLTMberCfOUoEM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
flask
|
||||
marshmallow
|
||||
packaging
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytestCheckHook
|
||||
] ++ passthru.optional-dependencies.sqlalchemy;
|
||||
|
||||
pythonImportsCheck = [
|
||||
"flask_marshmallow"
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
sqlalchemy = [
|
||||
flask-sqlalchemy
|
||||
marshmallow-sqlalchemy
|
||||
];
|
||||
};
|
||||
|
||||
meta = {
|
||||
homepage = "https://github.com/marshmallow-code/flask-marshmallow";
|
||||
description = "Flask + marshmallow for beautiful APIs";
|
||||
homepage = "https://github.com/marshmallow-code/flask-marshmallow";
|
||||
changelog = "https://github.com/marshmallow-code/flask-marshmallow/releases/tag/${version}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ nickcao ];
|
||||
};
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "bd01a6372cbe50e36f205cfff0fc5dab0b7b662c4c8b2c4fc06a3151b2950950";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ flask marshmallow ];
|
||||
buildInputs = [ six ];
|
||||
|
||||
doCheck = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user