2017-05-29 14:33:04 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, pytestcov, mock, coverage
|
|
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "alembic";
|
2019-04-16 18:15:33 +01:00
|
|
|
version = "1.0.9";
|
2017-05-29 14:33:04 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-04-16 18:15:33 +01:00
|
|
|
sha256 = "40b9a619aa5f25ea1e1508adcda88b33704ef28e02c9cfa6471e5c772ecf0829";
|
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;
|
|
|
|
};
|
|
|
|
}
|