Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 23 lines 651 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, pytest, pytestcov, mock, coverage, setuptools 3, Mako, sqlalchemy, python-editor, dateutil 4}: 5 6buildPythonPackage rec { 7 pname = "alembic"; 8 version = "1.0.10"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "828dcaa922155a2b7166c4f36ec45268944e4055c86499bd14319b4c8c0094b7"; 13 }; 14 15 buildInputs = [ pytest pytestcov mock coverage ]; 16 propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil setuptools ]; 17 18 meta = with stdenv.lib; { 19 homepage = https://bitbucket.org/zzzeek/alembic; 20 description = "A database migration tool for SQLAlchemy"; 21 license = licenses.mit; 22 }; 23}