Merge pull request #26208 from Mic92/alembic
pythonPackages.alembic: 0.8.3 -> 0.9.2
This commit is contained in:
commit
5276ce981a
24
pkgs/development/python-modules/alembic/default.nix
Normal file
24
pkgs/development/python-modules/alembic/default.nix
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
{ stdenv, buildPythonPackage, fetchPypi
|
||||||
|
, pytest, pytestcov, mock, coverage
|
||||||
|
, Mako, sqlalchemy, python-editor, dateutil
|
||||||
|
}:
|
||||||
|
|
||||||
|
buildPythonPackage rec {
|
||||||
|
name = "${pname}-${version}";
|
||||||
|
pname = "alembic";
|
||||||
|
version = "0.9.2";
|
||||||
|
|
||||||
|
src = fetchPypi {
|
||||||
|
inherit pname version;
|
||||||
|
sha256 = "0iw6wysm83hycvrycymf9b4mkji47536kl3x7grynfcbyjcvbdm2";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pytest pytestcov mock coverage ];
|
||||||
|
propagatedBuildInputs = [ Mako sqlalchemy python-editor dateutil ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
|
homepage = http://bitbucket.org/zzzeek/alembic;
|
||||||
|
description = "A database migration tool for SQLAlchemy";
|
||||||
|
license = licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -640,23 +640,7 @@ in {
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
alembic = buildPythonPackage rec {
|
alembic = callPackage ../development/python-modules/alembic {};
|
||||||
name = "alembic-0.8.3";
|
|
||||||
|
|
||||||
src = pkgs.fetchurl {
|
|
||||||
url = "mirror://pypi/a/alembic/${name}.tar.gz";
|
|
||||||
sha256 = "1sgwvwylzd5h14130mwr0cbyy0fil0a1bq0d0ki97wqvkic3db7f";
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = with self; [ pytest pytestcov mock coverage ];
|
|
||||||
propagatedBuildInputs = with self; [ Mako sqlalchemy python-editor ];
|
|
||||||
|
|
||||||
meta = {
|
|
||||||
homepage = http://bitbucket.org/zzzeek/alembic;
|
|
||||||
description = "A database migration tool for SQLAlchemy";
|
|
||||||
license = licenses.mit;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
ansicolors = buildPythonPackage rec {
|
ansicolors = buildPythonPackage rec {
|
||||||
name = "ansicolors-${version}";
|
name = "ansicolors-${version}";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user