mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 17:25:11 +00:00
25 lines
659 B
Nix
25 lines
659 B
Nix
{ stdenv, buildPythonPackage, fetchPypi
|
|
, pytest, pytestcov, mock, coverage
|
|
, Mako, sqlalchemy, python-editor, dateutil
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
name = "${pname}-${version}";
|
|
pname = "alembic";
|
|
version = "0.9.9";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "85bd3ea7633024e4930900bc64fb58f9742dedbc6ebb6ecf25be2ea9a3c1b32e";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|