anchor.diff:                    "['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
       '';
   
  -    preCheck = ''
  -      # Broken test, probably https://github.com/pydata/pandas/issues/10312:
  -      rm pandas/io/tests/test_html.py
  -
  -      # Hitting https://github.com/pydata/pandas/pull/7362 on python
  -      # 3.3 and 3.4, not sure why:
  -      rm pandas/tseries/tests/test_daterange.py
  -
  -      # Need to skip this test; insert a line here... hacky but oh well.
  -      badtest=pandas/tseries/tests/test_timezones.py
  -      fixed=$TMPDIR/fixed_test_timezones.py
  -      touch $fixed
  -      head -n 602 $badtest > $fixed
  -      echo '        raise nose.SkipTest("Not working")' >> $fixed
  -      tail -n +603 $badtest >> $fixed
  -      mv $fixed $badtest
  -    '';
  -
  +    # The flag `-A 'not network'` will disable tests that use internet.
  +    # The `-e` flag disables a few problematic tests.
  +    # https://github.com/pydata/pandas/issues/11169
  +    # https://github.com/pydata/pandas/issues/11287
       checkPhase = ''
         runHook preCheck
  -
         # The flag `-A 'not network'` will disable tests that use internet.
         # The `-e` flag disables a few problematic tests.
         ${python.executable} setup.py nosetests -A 'not network' --stop \
  -        -e 'test_clipboard|test_series' --verbosity=3
  +        -e 'test_data|test_excel|test_html|test_json|test_frequencies|test_frame' --verbosity=3
   
         runHook postCheck
       '';
  
positive.code:     inherit (pkgs.stdenv.lib) optional optionalString;
      inherit (pkgs.stdenv) isDarwin;
    in buildPythonPackage rec {
      name = "pandas-0.16.2";
  
      src = pkgs.fetchurl {
        url = "https://pypi.python.org/packages/source/p/pandas/${name}.tar.gz";
        sha256 = "10agmrkps8bi5948vwpipfxds5kj1d076m9i0nhaxwqiw7gm6670";
      };
  
      buildInputs = [ self.nose ] ++ optional isDarwin pkgs.libcxx;
      propagatedBuildInputs = with self; [
        dateutil
        numpy
  
negative.code:       license = licenses.lgpl21;
        description = "Exclude specific directories from nosetests runs";
        homepage = https://github.com/kgrandis/nose-exclude;
        maintainers = with maintainers; [ fridh ];
      };
  
    };
  