···3435buildPythonPackage rec {
36 pname = "qiskit-aqua";
37- version = "0.8.1";
3839 disabled = pythonOlder "3.6";
40···43 owner = "Qiskit";
44 repo = "qiskit-aqua";
45 rev = version;
46- sha256 = "11qyya3vyq50wpzrzzl8v46yx5p72rhpqhybwn47qgazxgg82r1b";
47 };
4849 # Optional packages: pyscf (see below NOTE) & pytorch. Can install via pip/nix if needed.
···73 # It can also be installed at runtime from the pip wheel.
74 # We disable appropriate tests below to allow building without pyscf installed
7576- # NOTE: we remove cplex b/c we can't build pythonPackages.cplex.
77- # cplex is only distributed in manylinux1 wheel (no source), and Nix python is not manylinux1 compatible
78-79 postPatch = ''
80- substituteInPlace setup.py \
81- --replace "pyscf; sys_platform != 'win32'" "" \
82- --replace "cplex; python_version >= '3.6' and python_version < '3.8'" ""
8384 # Add ImportWarning when running qiskit.chemistry (pyscf is a chemistry package) that pyscf is not included
85 echo -e "\nimport warnings\ntry: import pyscf;\nexcept ImportError:\n " \
···3435buildPythonPackage rec {
36 pname = "qiskit-aqua";
37+ version = "0.8.2";
3839 disabled = pythonOlder "3.6";
40···43 owner = "Qiskit";
44 repo = "qiskit-aqua";
45 rev = version;
46+ sha256 = "sha256-ybf8bXqsVk6quYi0vrfo/Mplk7Nr7tQS7cevXxI9khw=";
47 };
4849 # Optional packages: pyscf (see below NOTE) & pytorch. Can install via pip/nix if needed.
···73 # It can also be installed at runtime from the pip wheel.
74 # We disable appropriate tests below to allow building without pyscf installed
7500076 postPatch = ''
77+ substituteInPlace setup.py --replace "docplex==2.15.194" "docplex"
007879 # Add ImportWarning when running qiskit.chemistry (pyscf is a chemistry package) that pyscf is not included
80 echo -e "\nimport warnings\ntry: import pyscf;\nexcept ImportError:\n " \