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

25 lines
659 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";
2018-02-17 14:17:58 +01:00
version = "0.9.8";
2017-05-29 15:33:04 +02:00
src = fetchPypi {
inherit pname version;
2018-02-17 14:17:58 +01:00
sha256 = "13b8611788acf0d7b617775db5c2ae26554a6d4263c590ef628d448fd05aef56";
2017-05-29 15:33:04 +02: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 15:33:04 +02:00
description = "A database migration tool for SQLAlchemy";
license = licenses.mit;
};
}