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