mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 23:36:17 +01:00
Merge pull request #26208 from Mic92/alembic
pythonPackages.alembic: 0.8.3 -> 0.9.2
This commit is contained in:
commit
5276ce981a
2 changed files with 25 additions and 17 deletions
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 {
|
||||
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;
|
||||
};
|
||||
};
|
||||
alembic = callPackage ../development/python-modules/alembic {};
|
||||
|
||||
ansicolors = buildPythonPackage rec {
|
||||
name = "ansicolors-${version}";
|
||||
|
|
Loading…
Reference in a new issue