anchor.diff:      homepage = "https://github.com/soft-matter/trackpy";
       license = licenses.bsd3;
       maintainers = [ maintainers.costrouc ];
  -    broken = true; # not compatible with latest pandas
     };
   }
  
positive.code:     pandas
      pyyaml
      matplotlib
    ];
  
    checkInputs = [
      pytest
    ];
  
    checkPhase = ''
      ${lib.optionalString (stdenv.isDarwin) ''
      # specifically needed for darwin
      export HOME=$(mktemp -d)
      mkdir -p $HOME/.matplotlib
      echo "backend: ps" > $HOME/.matplotlib/matplotlibrc
      ''}
  
      pytest trackpy --ignore trackpy/tests/test_motion.py \
                     --ignore trackpy/tests/test_feature_saving.py \
                     --ignore trackpy/tests/test_feature.py \
                     --ignore trackpy/tests/test_plots.py \
                     --ignore trackpy/tests/test_legacy_linking.py
    '';
  
    meta = with lib; {
  
negative.code: { lib
  , stdenv
  , buildPythonPackage
  , fetchFromGitHub
  , numpy
  