2021-01-25 08:26:54 +00:00
|
|
|
{ lib
|
2020-04-24 13:00:00 +01:00
|
|
|
, fetchPypi
|
|
|
|
, buildPythonPackage
|
|
|
|
, flask
|
|
|
|
, flask_login
|
|
|
|
, flask_sqlalchemy
|
|
|
|
, flexmock
|
|
|
|
, pytestCheckHook
|
|
|
|
, sqlalchemy
|
|
|
|
, sqlalchemy-utils
|
|
|
|
, sqlalchemy-i18n
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "SQLAlchemy-Continuum";
|
2020-07-18 13:00:00 +01:00
|
|
|
version = "1.3.11";
|
2020-04-24 13:00:00 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-07-18 13:00:00 +01:00
|
|
|
sha256 = "1c9yd9s98crqgs39rc2ld2r0nchgyjrfbjdlqb99y4hhc6lv04xw";
|
2020-04-24 13:00:00 +01: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
|
|
|
|
flask_sqlalchemy
|
|
|
|
flexmock
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/kvesteri/sqlalchemy-continuum/";
|
|
|
|
description = "Versioning and auditing extension for SQLAlchemy";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|