From 9b55a4ebe14e63fe232276c50b96995100790cf5 Mon Sep 17 00:00:00 2001 From: Jaka Hudoklin Date: Fri, 20 Sep 2013 17:44:10 +0200 Subject: [PATCH] pythonPackages: add alembic, database migration tool for SQLAlchemy --- pkgs/top-level/python-packages.nix | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index eae050f0b86d..073f11628579 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -214,6 +214,25 @@ pythonPackages = modules // import ./python-packages-generated.nix { }; + alembic = buildPythonPackage rec { + name = "alembic-0.6.0"; + + src = fetchurl { + url = "https://pypi.python.org/packages/source/a/alembic/${name}.tar.gz"; + md5 = "084fe81b48ebae43b0f6031af68a03d6"; + }; + + buildInputs = [ nose ]; + propagatedBuildInputs = [ Mako sqlalchemy ]; + + meta = { + homepage = http://bitbucket.org/zzzeek/alembic; + description = "A database migration tool for SQLAlchemy."; + license = stdenv.lib.licenses.mit; + }; + }; + + almir = buildPythonPackage rec { name = "almir-0.1.8";