anchor.diff:      seaborn
     ];
   
  -  postPatch = ''
  -    # Fix relative imports in tests
  -    touch test/python/dagcircuit/__init__.py
  -  '';
   
     # *** Tests ***
     checkInputs = [
  
positive.code:   preCheck = ''
      export PACKAGEDIR=$out/${python.sitePackages}
      echo "Moving Qiskit test files to package directory"
      cp -r $TMP/source/test $PACKAGEDIR
      cp -r $TMP/source/examples $PACKAGEDIR
      cp -r $TMP/source/qiskit/schemas/examples $PACKAGEDIR/qiskit/schemas/
  
      # run pytest from Nix's $out path
      pushd $PACKAGEDIR
  
negative.code:     '';
      homepage = "https://qiskit.org/terra";
      downloadPage = "https://github.com/QISKit/qiskit-terra/releases";
      changelog = "https://qiskit.org/documentation/release_notes.html";
      license = licenses.asl20;
      maintainers = with maintainers; [ drewrisinger ];
    };
  