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

27 lines
708 B
Nix
Raw Normal View History

{ lib, buildPythonPackage, fetchPypi
, pytest, pytest-cov, mock, coverage, setuptools
, Mako, sqlalchemy, python-editor, python-dateutil
2017-05-29 15:33:04 +02:00
}:
buildPythonPackage rec {
pname = "alembic";
version = "1.6.5";
2017-05-29 15:33:04 +02:00
src = fetchPypi {
inherit pname version;
sha256 = "a21fedebb3fb8f6bbbba51a11114f08c78709377051384c9c5ead5705ee93a51";
2017-05-29 15:33:04 +02:00
};
buildInputs = [ pytest pytest-cov mock coverage ];
propagatedBuildInputs = [ Mako sqlalchemy python-editor python-dateutil setuptools ];
2017-05-29 15:33:04 +02:00
# no traditional test suite
doCheck = false;
meta = with lib; {
homepage = "https://bitbucket.org/zzzeek/alembic";
2017-05-29 15:33:04 +02:00
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};
}