c594a97518
GitOrigin-RevId: 301aada7a64812853f2e2634a530ef5d34505048
45 lines
837 B
Nix
45 lines
837 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, flask
|
|
, flask-login
|
|
, flask-sqlalchemy
|
|
, flexmock
|
|
, pytestCheckHook
|
|
, sqlalchemy
|
|
, sqlalchemy-utils
|
|
, sqlalchemy-i18n
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "SQLAlchemy-Continuum";
|
|
version = "1.3.13";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-JTqlHQmaVH2qKz7CFyCqpous3ecOpoFrxVlzasbc21I=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|