2017-05-29 14:33:04 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, pytestcov, mock, coverage
|
|
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "alembic";
|
2018-11-20 10:58:34 +00:00
|
|
|
version = "1.0.3";
|
2017-05-29 14:33:04 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-11-20 10:58:34 +00:00
|
|
|
sha256 = "4b6ff7433247fe80b6ef522ef3763acb959cbdef027d03f76f4cd3c7118c1872";
|
2017-05-29 14:33:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest pytestcov mock coverage ];
|
|
|
|
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-11-10 21:13:27 +00: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;
|
|
|
|
};
|
|
|
|
}
|