Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.03 26 lines 700 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.3.2"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "3b0cb1948833e062f4048992fbc97ecfaaaac24aaa0d83a1202a99fb58af8c6d"; 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 stdenv.lib; { 22 homepage = https://bitbucket.org/zzzeek/alembic; 23 description = "A database migration tool for SQLAlchemy"; 24 license = licenses.mit; 25 }; 26}