From 706a9ed1e8ce6ffafe414ad7992996abbac1beef Mon Sep 17 00:00:00 2001 From: Sander van der Burg Date: Wed, 22 Dec 2010 17:03:30 +0000 Subject: [PATCH] Added MySQL-python + nose (which is a dependency) svn path=/nixpkgs/trunk/; revision=25245 --- pkgs/top-level/python-packages.nix | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index b3a39592c78b..346648c94d3b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -479,6 +479,19 @@ rec { }; }); + nose = buildPythonPackage { + name = "nose-0.11.3"; + + src = fetchurl { + url = http://python-nose.googlecode.com/files/nose-0.11.3.tar.gz; + sha256 = "1hl3lbwdfl2a64q3dxc73kbiks4iwx5cixlbavyryd8xdr7iziww"; + }; + + meta = { + description = "A unittest-based testing framework for python that makes writing and running tests easier"; + }; + }; + notify = pkgs.stdenv.mkDerivation (rec { name = "python-notify-0.1.1"; @@ -908,6 +921,25 @@ rec { homepage = https://github.com/ahupp/python-magic; }; }; + + MySQL_python = buildPythonPackage { + name = "MySQL-python-1.2.3"; + + doCheck = false; + + src = fetchurl { + url = mirror://sourceforge/mysql-python/MySQL-python-1.2.3.tar.gz; + sha256 = "0vkyg9dmj29hzk7fy77f42p7bfj28skyzsjsjry4wqr3z6xnzrkx"; + }; + + propagatedBuildInputs = [ pkgs.mysql pkgs.zlib nose ]; + + meta = { + description = "MySQL database binding for Python"; + + homepage = http://sourceforge.net/projects/mysql-python; + }; + }; setuptoolsDarcs = buildPythonPackage { name = "setuptools-darcs-1.2.9";