anchor.diff:      owner = "Qiskit";
       repo = "qiskit-aer";
       rev = version;
  -    hash = "sha256-CWF3ehLs0HBXnYH11r+2CQwIcxddAfQm3ulAf1agl/o=";
  +    hash = "sha256-7NWM7qpMQ3vA6p0dhEPnkBjsPMdhceYTYcAD4tsClf0=";
     };
  +
  +  patches = [
  +    (fetchpatch {
  +      # https://github.com/Qiskit/qiskit-aer/pull/1250
  +      name = "qiskit-aer-pr-1250-native-cmake_dl_libs.patch";
  +      url = "https://github.com/Qiskit/qiskit-aer/commit/2bf04ade3e5411776817706cf82cc67a3b3866f6.patch";
  +      sha256 = "0ldwzxxfgaad7ifpci03zfdaj0kqj0p3h94qgshrd2953mf27p6z";
  +    })
  +  ];
  +  # Remove need for cmake python package
  +  # pybind11 shouldn't be an install requirement, just build requirement.
  +  postPatch = ''
  +    substituteInPlace setup.py \
  +      --replace "'cmake!=3.17,!=3.17.0'," "" \
  +      --replace "'pybind11>=2.6'" ""
  +  '';
   
     nativeBuildInputs = [
       cmake
       ninja
       scikit-build
  +    pybind11
     ];
   
     buildInputs = [
  
positive.code: 
  buildPythonPackage rec {
    pname = "qiskit-aer";
    version = "0.8.0";
    format = "pyproject";
  
    disabled = pythonOlder "3.6";
  
negative.code:     cvxpy
      cython  # generates some cython files at runtime that need to be cython-ized
      numpy
    ];
  
    # Disable using conan for build
    preBuild = ''
  