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

27 lines
702 B
Nix
Raw Normal View History

2017-05-29 14:33:04 +01:00
{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestcov, mock, coverage, setuptools
2017-05-29 14:33:04 +01:00
, Mako, sqlalchemy, python-editor, dateutil
}:
buildPythonPackage rec {
pname = "alembic";
2020-06-06 07:46:56 +01:00
version = "1.4.2";
2017-05-29 14:33:04 +01:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:46:56 +01:00
sha256 = "035ab00497217628bf5d0be82d664d8713ab13d37b630084da8e1f98facf4dbf";
2017-05-29 14:33:04 +01:00
};
buildInputs = [ pytest pytestcov mock coverage ];
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil setuptools ];
2017-05-29 14:33:04 +01:00
# no traditional test suite
doCheck = false;
2017-05-29 14:33:04 +01:00
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;
};
}