depot/third_party/nixpkgs/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

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; [ ];
};
}