25 lines
659 B
Nix
25 lines
659 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytest, pytestcov, mock, coverage
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "alembic";
|
|
version = "0.9.6";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "042851ebe9efa07be6dc1395b1793b6c1d8964a39b73a0ce1649e2bcd41ea732";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|