Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
50 lines
1014 B
Nix
50 lines
1014 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
pythonOlder,
|
|
fetchPypi,
|
|
flit-core,
|
|
marshmallow,
|
|
packaging,
|
|
sqlalchemy,
|
|
pytest-lazy-fixtures,
|
|
pytestCheckHook,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "marshmallow-sqlalchemy";
|
|
version = "1.4.2";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.9";
|
|
|
|
src = fetchPypi {
|
|
pname = "marshmallow_sqlalchemy";
|
|
inherit version;
|
|
hash = "sha256-ZBAwS/mOwm6jXz+dPO6C5R/Qk8Q0YSrdMqC9zbVmj3w=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
propagatedBuildInputs = [
|
|
marshmallow
|
|
packaging
|
|
sqlalchemy
|
|
];
|
|
|
|
pythonImportsCheck = [ "marshmallow_sqlalchemy" ];
|
|
|
|
nativeCheckInputs = [
|
|
pytest-lazy-fixtures
|
|
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 = [ ];
|
|
};
|
|
}
|