Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 26 lines 702 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.4.2"; 9 10 src = fetchPypi { 11 inherit pname version; 12 sha256 = "035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf"; 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}