2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
pythonOlder,
|
|
|
|
fetchPypi,
|
|
|
|
flit-core,
|
|
|
|
marshmallow,
|
|
|
|
packaging,
|
|
|
|
sqlalchemy,
|
|
|
|
pytest-lazy-fixture,
|
|
|
|
pytestCheckHook,
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "marshmallow-sqlalchemy";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "1.0.0";
|
|
|
|
pyproject = true;
|
2023-03-04 12:14:45 +00:00
|
|
|
|
2024-01-13 08:15:51 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
2024-04-21 15:54:59 +00:00
|
|
|
pname = "marshmallow_sqlalchemy";
|
|
|
|
inherit version;
|
|
|
|
hash = "sha256-IKDy/N1b3chkRPoBRh8X+bahKo3dTKjJs0/i8uNdAKI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
build-system = [ flit-core ];
|
2024-04-21 15:54:59 +00:00
|
|
|
|
2021-02-13 14:23:35 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
marshmallow
|
2023-03-04 12:14:45 +00:00
|
|
|
packaging
|
2021-02-13 14:23:35 +00:00
|
|
|
sqlalchemy
|
|
|
|
];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
pythonImportsCheck = [ "marshmallow_sqlalchemy" ];
|
2021-06-28 23:13:55 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [
|
2021-02-13 14:23:35 +00:00
|
|
|
pytest-lazy-fixture
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
2021-06-28 23:13:55 +00:00
|
|
|
description = "SQLAlchemy integration with marshmallow";
|
2023-03-04 12:14:45 +00:00
|
|
|
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
|
|
|
|
changelog = "https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/${version}/CHANGELOG.rst";
|
2021-02-13 14:23:35 +00:00
|
|
|
license = licenses.mit;
|
2024-07-31 10:19:44 +00:00
|
|
|
maintainers = [ ];
|
2021-02-13 14:23:35 +00:00
|
|
|
};
|
2020-04-24 23:36:52 +00:00
|
|
|
}
|