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