python3Packages.sqlalchemy-continuum: 1.4.1 -> 1.4.2
https://github.com/kvesteri/sqlalchemy-continuum/blob/1.4.2/CHANGES.rst
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchPypi,
|
||||
setuptools,
|
||||
flask,
|
||||
flask-login,
|
||||
flask-sqlalchemy,
|
||||
@@ -16,23 +17,25 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlalchemy-continuum";
|
||||
version = "1.4.1";
|
||||
format = "setuptools";
|
||||
version = "1.4.2";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
pname = "SQLAlchemy-Continuum";
|
||||
pname = "sqlalchemy_continuum";
|
||||
inherit version;
|
||||
hash = "sha256-4BZGzfv9azGiGwrrprv/ZhJY1b6Ed8dQDKs6HHSEjm4=";
|
||||
hash = "sha256-D9K+efcY7aR8IgaHnZLsTr8YiTZGN7PK8+5dNL0ZyOM=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
build-system = [ setuptools ];
|
||||
|
||||
dependencies = [
|
||||
sqlalchemy
|
||||
sqlalchemy-utils
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
optional-dependencies = {
|
||||
flask = [ flask ];
|
||||
flask-login = [ flask-login ];
|
||||
flask-sqlalchemy = [ flask-sqlalchemy ];
|
||||
@@ -43,10 +46,12 @@ buildPythonPackage rec {
|
||||
psycopg2
|
||||
pymysql
|
||||
pytestCheckHook
|
||||
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
|
||||
] ++ lib.flatten (lib.attrValues optional-dependencies);
|
||||
|
||||
# Indicate tests that we don't have a database server at hand
|
||||
env.DB = "sqlite";
|
||||
preCheck = ''
|
||||
# Indicate tests that we don't have a database server at hand
|
||||
export DB=sqlite
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [ "sqlalchemy_continuum" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user