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

24 lines
628 B
Nix
Raw Normal View History

2017-05-29 14:33:04 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestcov, mock, coverage
, Mako, sqlalchemy, python-editor, dateutil
}:
buildPythonPackage rec {
pname = "alembic";
2019-05-30 07:49:48 +01:00
version = "1.0.10";
2017-05-29 14:33:04 +01:00
src = fetchPypi {
inherit pname version;
2019-05-30 07:49:48 +01:00
sha256 = "828dcaa922155a2b7166c4f36ec45268944e4055c86499bd14319b4c8c0094b7";
2017-05-29 14:33:04 +01: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 14:33:04 +01:00
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};
}