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