2021-01-25 08:26:54 +00:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
2021-07-20 21:42:24 +01:00
|
|
|
, pytest, pytest-cov, mock, coverage, setuptools
|
2021-07-03 12:37:24 +01:00
|
|
|
, Mako, sqlalchemy, python-editor, python-dateutil
|
2017-05-29 14:33:04 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "alembic";
|
2021-06-18 22:47:07 +01:00
|
|
|
version = "1.6.5";
|
2017-05-29 14:33:04 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-06-18 22:47:07 +01:00
|
|
|
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51";
|
2017-05-29 14:33:04 +01:00
|
|
|
};
|
|
|
|
|
2021-07-20 21:42:24 +01:00
|
|
|
buildInputs = [ pytest pytest-cov mock coverage ];
|
2021-07-03 12:37:24 +01:00
|
|
|
propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ];
|
2017-05-29 14:33:04 +01:00
|
|
|
|
2019-10-25 09:50:38 +01:00
|
|
|
# no traditional test suite
|
|
|
|
doCheck = false;
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://bitbucket.org/zzzeek/alembic";
|
2017-05-29 14:33:04 +01:00
|
|
|
description = "A database migration tool for SQLAlchemy";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|