2021-02-05 17:12:51 +00:00
|
|
|
{ lib
|
2020-07-18 16:06:22 +00:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, flask
|
|
|
|
, flask_login
|
2022-08-12 12:06:08 +00:00
|
|
|
, flask-sqlalchemy
|
2020-07-18 16:06:22 +00:00
|
|
|
, flexmock
|
|
|
|
, pytestCheckHook
|
|
|
|
, sqlalchemy
|
|
|
|
, sqlalchemy-utils
|
|
|
|
, sqlalchemy-i18n
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "SQLAlchemy-Continuum";
|
2022-01-25 03:21:06 +00:00
|
|
|
version = "1.3.12";
|
2020-07-18 16:06:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-01-25 03:21:06 +00:00
|
|
|
sha256 = "rlHl59MAQhsicMtZQT9rv1iQrDyVYJlawtyhvFaAM7o=";
|
2020-07-18 16:06:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
sqlalchemy
|
|
|
|
sqlalchemy-utils
|
|
|
|
];
|
|
|
|
|
|
|
|
# indicate tests that we don't have a database server at hand
|
|
|
|
DB = "sqlite";
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
sqlalchemy-i18n
|
|
|
|
flask
|
|
|
|
flask_login
|
2022-08-12 12:06:08 +00:00
|
|
|
flask-sqlalchemy
|
2020-07-18 16:06:22 +00:00
|
|
|
flexmock
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/kvesteri/sqlalchemy-continuum/";
|
|
|
|
description = "Versioning and auditing extension for SQLAlchemy";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|