@@ -0,0 +1,24 @@
1+{ stdenv, buildPythonPackage, fetchPypi
2+, pytest, pytestcov, mock, coverage
3+, Mako, sqlalchemy, python-editor, dateutil
4+}:
5+
6+buildPythonPackage rec {
7+ name = "${pname}-${version}";
8+ pname = "alembic";
9+ version = "0.9.2";
10+
11+ src = fetchPypi {
12+ inherit pname version;
13+ sha256 = "0iw6wysm83hycvrycymf9b4mkji47536kl3x7grynfcbyjcvbdm2";
14+ };
15+
16+ buildInputs = [ pytest pytestcov mock coverage ];
17+ propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
18+
19+ meta = with stdenv.lib; {
20+ homepage = http://bitbucket.org/zzzeek/alembic;
21+ description = "A database migration tool for SQLAlchemy";
22+ license = licenses.mit;
23+ };
24+}