depot/third_party/nixpkgs/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
Default email b450903751 Project import generated by Copybara.
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
2022-09-09 16:08:57 +02:00

41 lines
749 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, marshmallow
, sqlalchemy
, pytest-lazy-fixture
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "marshmallow-sqlalchemy";
version = "0.28.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-qjdnRylngKVjVeMGe5yL9DoqHET/mF3oKzpdnhYcorg=";
};
propagatedBuildInputs = [
marshmallow
sqlalchemy
];
pythonImportsCheck = [
"marshmallow_sqlalchemy"
];
checkInputs = [
pytest-lazy-fixture
pytestCheckHook
];
meta = with lib; {
homepage = "https://github.com/marshmallow-code/marshmallow-sqlalchemy";
description = "SQLAlchemy integration with marshmallow";
license = licenses.mit;
};
}