Diff: https://github.com/pallets-eco/flask-sqlalchemy-lite/compare/0.1.0...0.2.0 Changelog: https://github.com/pallets-eco/flask-sqlalchemy-lite/blob/0.2.0/CHANGES.md
48 lines
1017 B
Nix
48 lines
1017 B
Nix
{
|
|
aiosqlite,
|
|
buildPythonPackage,
|
|
fetchFromGitHub,
|
|
flask,
|
|
flit-core,
|
|
lib,
|
|
pytestCheckHook,
|
|
sqlalchemy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "flask-sqlalchemy-lite";
|
|
version = "0.2.0";
|
|
pyproject = true;
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "pallets-eco";
|
|
repo = "flask-sqlalchemy-lite";
|
|
tag = version;
|
|
hash = "sha256-c7lTxihlW48bj9+pU2uq2V/dQrZCi5kq2gWdFhipQGE=";
|
|
};
|
|
|
|
build-system = [ flit-core ];
|
|
|
|
dependencies = [
|
|
flask
|
|
sqlalchemy
|
|
]
|
|
++ flask.optional-dependencies.async
|
|
++ sqlalchemy.optional-dependencies.asyncio;
|
|
|
|
pythonImportsCheck = [ "flask_sqlalchemy_lite" ];
|
|
|
|
nativeCheckInputs = [
|
|
aiosqlite
|
|
pytestCheckHook
|
|
];
|
|
|
|
meta = {
|
|
changelog = "https://github.com/pallets-eco/flask-sqlalchemy-lite/blob/${src.tag}/CHANGES.md";
|
|
description = "Integrate SQLAlchemy with Flask";
|
|
homepage = "https://github.com/pallets-eco/flask-sqlalchemy-lite";
|
|
license = lib.licenses.mit;
|
|
maintainers = with lib.maintainers; [ dotlambda ];
|
|
};
|
|
}
|