2017-05-29 14:33:04 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, pytestcov, mock, coverage
|
|
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "alembic";
|
2018-04-04 19:00:58 +01:00
|
|
|
version = "0.9.9";
|
2017-05-29 14:33:04 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2018-04-04 19:00:58 +01:00
|
|
|
sha256 = "85bd3ea7633024e4930900bc64fb58f9742dedbc6ebb6ecf25be2ea9a3c1b32e";
|
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;
|
|
|
|
};
|
|
|
|
}
|