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

25 lines
658 B
Nix
Raw Normal View History

2017-05-29 15:33:04 +02:00
{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestcov, mock, coverage
, Mako, sqlalchemy, python-editor, dateutil
}:
buildPythonPackage rec {
name = "${pname}-${version}";
pname = "alembic";
2017-08-24 19:34:20 +02:00
version = "0.9.5";
2017-05-29 15:33:04 +02:00
src = fetchPypi {
inherit pname version;
2017-08-24 19:34:20 +02:00
sha256 = "8bdcb4babaa16b9a826f8084949cc2665cb328ecf7b89b3224b0ab85bd16fd05";
2017-05-29 15:33:04 +02:00
};
buildInputs = [ pytest pytestcov mock coverage ];
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
meta = with stdenv.lib; {
homepage = http://bitbucket.org/zzzeek/alembic;
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};
}