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

24 lines
627 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-02-14 07:37:09 +00:00
version = "1.0.7";
2017-05-29 14:33:04 +01:00
src = fetchPypi {
inherit pname version;
2019-02-14 07:37:09 +00:00
sha256 = "16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2";
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;
};
}