4d5a95770c
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
46 lines
953 B
Nix
46 lines
953 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
, fetchPypi
|
|
, marshmallow
|
|
, packaging
|
|
, sqlalchemy
|
|
, pytest-lazy-fixture
|
|
, pytestCheckHook
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marshmallow-sqlalchemy";
|
|
version = "0.28.2";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-KrDxKAx5Plrsgd6rPmPsI2iN3+BeXzislgNooQeVIKE=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
marshmallow
|
|
packaging
|
|
sqlalchemy
|
|
];
|
|
|
|
pythonImportsCheck = [
|
|
"marshmallow_sqlalchemy"
|
|
];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-lazy-fixture
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "SQLAlchemy integration with marshmallow";
|
|
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
|
|
changelog = "https://github.com/marshmallow-code/marshmallow-sqlalchemy/blob/${version}/CHANGELOG.rst";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|