2017-05-29 15:33:04 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2019-09-11 12:13:52 +02:00
|
|
|
, pytest, pytestcov, mock, coverage, setuptools
|
2017-05-29 15:33:04 +02:00
|
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "alembic";
|
2019-10-24 08:47:23 +02:00
|
|
|
version = "1.2.1";
|
2017-05-29 15:33:04 +02:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-24 08:47:23 +02:00
|
|
|
sha256 = "9f907d7e8b286a1cfb22db9084f9ce4fde7ad7956bb496dc7c952e10ac90e36a";
|
2017-05-29 15:33:04 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pytest pytestcov mock coverage ];
|
2019-09-11 12:13:52 +02:00
|
|
|
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil setuptools ];
|
2017-05-29 15:33:04 +02:00
|
|
|
|
2019-10-25 10:50:38 +02:00
|
|
|
# no traditional test suite
|
|
|
|
doCheck = false;
|
|
|
|
|
2017-05-29 15:33:04 +02:00
|
|
|
meta = with stdenv.lib; {
|
2017-11-10 22:13:27 +01: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;
|
|
|
|
};
|
|
|
|
}
|