anchor.diff:        license = licenses.lgpl21;
         description = "Exclude specific directories from nosetests runs";
         homepage = https://github.com/kgrandis/nose-exclude;
  -      maintainers = [ fridh ];
  +      maintainers = with maintainers; [ fridh ];
       };
   
     };
  
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:                   "['pandas/src/klib', 'pandas/src', '$cpp_sdk']"
      '';
  
      # 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_data|test_excel|test_html|test_json|test_frequencies|test_frame' --verbosity=3
  
        runHook postCheck
      '';
  