24 lines
627 B
Nix
24 lines
627 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytest, pytestcov, mock, coverage
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "alembic";
|
|
version = "1.0.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "52d73b1d750f1414fa90c25a08da47b87de1e4ad883935718a8f36396e19e78e";
|
|
};
|
|
|
|
buildInputs = [ pytest pytestcov mock coverage ];
|
|
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://bitbucket.org/zzzeek/alembic;
|
|
description = "A database migration tool for SQLAlchemy";
|
|
license = licenses.mit;
|
|
};
|
|
}
|