Merge pull request #209437 from r-ryantm/auto-update/python310Packages.sqlalchemy-continuum

python310Packages.sqlalchemy-continuum: 1.3.13 -> 1.3.14
This commit is contained in:
Fabian Affolter 2023-01-07 12:09:42 +01:00 committed by GitHub
commit 7501659e17
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,23 +1,30 @@
{ lib { lib
, fetchPypi
, buildPythonPackage , buildPythonPackage
, fetchPypi
, flask , flask
, flask-login , flask-login
, flask-sqlalchemy , flask-sqlalchemy
, flexmock , flexmock
, psycopg2
, pymysql
, pytestCheckHook , pytestCheckHook
, pythonOlder
, sqlalchemy , sqlalchemy
, sqlalchemy-utils
, sqlalchemy-i18n , sqlalchemy-i18n
, sqlalchemy-utils
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "SQLAlchemy-Continuum"; pname = "sqlalchemy-continuum";
version = "1.3.13"; version = "1.3.14";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; pname = "SQLAlchemy-Continuum";
sha256 = "sha256-JTqlHQmaVH2qKz7CFyCqpous3ecOpoFrxVlzasbc21I="; inherit version;
hash = "sha256-1+k/lx6R8tW9gM3M2kqaVEwpmx8cMhDXeqCjyd8O2hM=";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -25,21 +32,46 @@ buildPythonPackage rec {
sqlalchemy-utils sqlalchemy-utils
]; ];
passthru.optional-dependencies = {
flask = [
flask
];
flask-login = [
flask-login
];
flask-sqlalchemy = [
flask-sqlalchemy
];
flexmock = [
flexmock
];
i18n = [
sqlalchemy-i18n
];
};
checkInputs = [
psycopg2
pymysql
pytestCheckHook
] ++ passthru.optional-dependencies.flask
++ passthru.optional-dependencies.flask-login
++ passthru.optional-dependencies.flask-sqlalchemy
++ passthru.optional-dependencies.flexmock
++ passthru.optional-dependencies.i18n;
# indicate tests that we don't have a database server at hand # indicate tests that we don't have a database server at hand
DB = "sqlite"; DB = "sqlite";
checkInputs = [ pythonImportsCheck = [
pytestCheckHook "sqlalchemy_continuum"
sqlalchemy-i18n
flask
flask-login
flask-sqlalchemy
flexmock
]; ];
meta = with lib; { meta = with lib; {
homepage = "https://github.com/kvesteri/sqlalchemy-continuum/";
description = "Versioning and auditing extension for SQLAlchemy"; description = "Versioning and auditing extension for SQLAlchemy";
homepage = "https://github.com/kvesteri/sqlalchemy-continuum/";
changelog = "https://github.com/kvesteri/sqlalchemy-continuum/blob/${version}/CHANGES.rst";
license = licenses.bsd3; license = licenses.bsd3;
maintainers = with maintainers; [ ];
}; };
} }