python3Packages.alembic: 1.6.5 -> 1.7.1
This commit is contained in:
parent
297f3c6d21
commit
35f4817c7a
1 changed files with 39 additions and 9 deletions
|
@ -1,26 +1,56 @@
|
||||||
{ lib, buildPythonPackage, fetchPypi
|
{ lib
|
||||||
, pytest, pytest-cov, mock, coverage, setuptools
|
, buildPythonPackage
|
||||||
, Mako, sqlalchemy, python-editor, python-dateutil
|
, fetchPypi
|
||||||
|
, pythonOlder
|
||||||
|
, Mako
|
||||||
|
, python-dateutil
|
||||||
|
, sqlalchemy
|
||||||
|
, importlib-metadata
|
||||||
|
, importlib-resources
|
||||||
|
, pytest-xdist
|
||||||
|
, pytestCheckHook
|
||||||
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "alembic";
|
pname = "alembic";
|
||||||
version = "1.6.5";
|
version = "1.7.1";
|
||||||
|
format = "setuptools";
|
||||||
|
|
||||||
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51";
|
sha256 = "aea964d3dcc9c205b8759e4e9c1c3935ea3afeee259bffd7ed8414f8085140fb";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pytest pytest-cov mock coverage ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ];
|
Mako
|
||||||
|
python-dateutil
|
||||||
|
sqlalchemy
|
||||||
|
] ++ lib.optionals (pythonOlder "3.9") [
|
||||||
|
importlib-resources
|
||||||
|
] ++ lib.optionals (pythonOlder "3.8") [
|
||||||
|
importlib-metadata
|
||||||
|
];
|
||||||
|
|
||||||
# no traditional test suite
|
pythonImportsCheck = [
|
||||||
doCheck = false;
|
"alembic"
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
pytestCheckHook
|
||||||
|
pytest-xdist
|
||||||
|
];
|
||||||
|
|
||||||
|
pytestFlagsArray = [
|
||||||
|
"--numprocesses" "auto"
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = "https://bitbucket.org/zzzeek/alembic";
|
homepage = "https://bitbucket.org/zzzeek/alembic";
|
||||||
description = "A database migration tool for SQLAlchemy";
|
description = "A database migration tool for SQLAlchemy";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
maintainers = with maintainers; [ ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue