nixpkgs/pkgs/development/python-modules/alembic/default.nix
2019-02-14 11:38:01 +01:00

24 lines
627 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, pytest, pytestcov, mock, coverage
, Mako, sqlalchemy, python-editor, dateutil
}:
buildPythonPackage rec {
pname = "alembic";
version = "1.0.7";
src = fetchPypi {
inherit pname version;
sha256 = "16505782b229007ae905ef9e0ae6e880fddafa406f086ac7d442c1aaf712f8c2";
};
buildInputs = [ pytest pytestcov mock coverage ];
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
meta = with stdenv.lib; {
homepage = https://bitbucket.org/zzzeek/alembic;
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};
}