depot/third_party/nixpkgs/pkgs/development/python-modules/marshmallow-sqlalchemy/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

41 lines
762 B
Nix

{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, marshmallow
, sqlalchemy
, pytest-lazy-fixture
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "marshmallow-sqlalchemy";
version = "0.26.1";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "d8525f74de51554b5c8491effe036f60629a426229befa33ff614c8569a16a73";
};
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;
};
}