2017-05-29 13:33:04 +00:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-09-11 10:13:52 +00:00
|
|
|
, pytest, pytestcov, mock, coverage, setuptools
|
2017-05-29 13:33:04 +00:00
|
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "alembic";
|
2019-12-19 19:31:04 +00:00
|
|
|
version = "1.3.2";
|
2017-05-29 13:33:04 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-12-19 19:31:04 +00:00
|
|
|
sha256 = "3b0cb1948833e062f4048992fbc97ecfaaaac24aaa0d83a1202a99fb58af8c6d";
|
2017-05-29 13:33:04 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest pytestcov mock coverage ];
|
2019-09-11 10:13:52 +00:00
|
|
|
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil setuptools ];
|
2017-05-29 13:33:04 +00:00
|
|
|
|
2019-10-25 08:50:38 +00:00
|
|
|
# no traditional test suite
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-05-29 13:33:04 +00:00
|
|
|
meta = with stdenv.lib; {
|
2017-11-10 21:13:27 +00:00
|
|
|
homepage = https://bitbucket.org/zzzeek/alembic;
|
2017-05-29 13:33:04 +00:00
|
|
|
description = "A database migration tool for SQLAlchemy";
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
|
|
|
}
|