From ea58608726a11d399a471fd7075a0fa83d99b881 Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Thu, 6 Dec 2012 08:24:38 +0100 Subject: [PATCH] python: give coverage to coilmq and oauth2 - thx shea --- pkgs/top-level/python-packages.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 3b34238663eb..8a48eafacb4c 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -407,9 +407,11 @@ let pythonPackages = python.modules // rec { propagatedBuildInputs = [ stompclient distribute ]; - #buildInputs = [ coverage ]; - # needs coverage - doCheck = false; + buildInputs = [ coverage sqlalchemy ]; + + # ValueError: Could not parse auth file: + # /tmp/nix-build-.../CoilMQ-0.6.1/coilmq/tests/resources/auth.ini + #doCheck = false; meta = { description = "Simple, lightweight, and easily extensible STOMP message broker"; @@ -1457,7 +1459,7 @@ let pythonPackages = python.modules // rec { description = "A unittest-based testing framework for python that makes writing and running tests easier"; }; - buildInputs = [ pythonPackages.coverage ]; + buildInputs = [ coverage ]; }; notify = pkgs.stdenv.mkDerivation (rec { @@ -1537,9 +1539,10 @@ let pythonPackages = python.modules // rec { propagatedBuildInputs = [ httplib2 ]; - #buildInputs = [ mock coverage ]; - # needs coverage - doCheck = false; + buildInputs = [ mock coverage ]; + + # ServerNotFoundError: Unable to find the server at oauth-sandbox.sevengoslings.net + #doCheck = false; meta = { homepage = "https://github.com/simplegeo/python-oauth2";