Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 23 lines 627 B view raw
1{ stdenv, buildPythonPackage, fetchPypi 2, pytest, pytestcov, mock, coverage 3, Mako, sqlalchemy, python-editor, dateutil 4}: 5 6buildPythonPackage rec { 7 pname = "alembic"; 8 version = "1.0.7"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2"; 13 }; 14 15 buildInputs = [ pytest pytestcov mock coverage ]; 16 propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ]; 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}