nixpkgs/pkgs/development/python-modules/alembic/default.nix

24 lines
627 B
Nix
Raw Normal View History

2017-05-29 13:33:04 +00:00
{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestcov, mock, coverage
, Mako, sqlalchemy, python-editor, dateutil
}:
buildPythonPackage rec {
pname = "alembic";
2018-07-22 10:04:06 +00:00
version = "1.0.0";
2017-05-29 13:33:04 +00:00
src = fetchPypi {
inherit pname version;
2018-07-22 10:04:06 +00:00
sha256 = "52d73b1d750f1414fa90c25a08da47b87de1e4ad883935718a8f36396e19e78e";
2017-05-29 13:33:04 +00:00
};
buildInputs = [ pytest pytestcov mock coverage ];
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
meta = with stdenv.lib; {
homepage = https://bitbucket.org/zzzeek/alembic;
2017-05-29 13:33:04 +00:00
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};
}