From 3ee369ce5ad14d7e830da0ebd6d370084401f9c8 Mon Sep 17 00:00:00 2001 From: Domen Kozar Date: Sun, 28 Jul 2013 12:30:11 +0200 Subject: [PATCH] sqlalchemy: 0.7.9 -> 0.7.10, apply patch to fix tests --- pkgs/top-level/python-packages.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 13fddeb8655f..048ddee396ed 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -5002,14 +5002,21 @@ pythonPackages = python.modules // rec { }); - sqlalchemy = buildPythonPackage { - name = "sqlalchemy-0.7.9"; + sqlalchemy = buildPythonPackage rec { + name = "sqlalchemy-${version}"; + version = "0.7.10"; src = fetchurl { - url = mirror://sourceforge/sqlalchemy/0.7.9/SQLAlchemy-0.7.9.tar.gz; - md5 = "c4852d586d95a59fbc9358f4467875d5"; + url = "http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-${version}.tar.gz"; + sha256 = "0rhxgr85xdhjn467qfs0dkyj8x46zxcv6ad3dfx3w14xbkb3kakp"; }; + patches = [ + # see https://groups.google.com/forum/#!searchin/sqlalchemy/module$20logging$20handlers/sqlalchemy/ukuGhmQ2p6g/2_dOpBEYdDYJ + # waiting for 0.7.11 release + ../development/python-modules/sqlalchemy-0.7.10-test-failures.patch + ]; + buildInputs = [ nose ]; propagatedBuildInputs = [ python.modules.sqlite3 ];