python3Packages.qiskit-aer: 0.7.1 -> 0.7.4

This commit is contained in:
Fabian Affolter 2021-02-10 18:01:21 +01:00
parent 88666eca65
commit aebae2ab90

View File

@ -7,6 +7,7 @@
, blas , blas
, catch2 , catch2
, cmake , cmake
, conan
, cython , cython
, fmt , fmt
, muparserx , muparserx
@ -28,7 +29,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "qiskit-aer"; pname = "qiskit-aer";
version = "0.7.1"; version = "0.7.4";
disabled = pythonOlder "3.6"; disabled = pythonOlder "3.6";
@ -36,7 +37,7 @@ buildPythonPackage rec {
owner = "Qiskit"; owner = "Qiskit";
repo = "qiskit-aer"; repo = "qiskit-aer";
rev = version; rev = version;
sha256 = "07l0wavdknx0y4vy0hwgw24365sg4nb6ygl3lpa098np85qgyn4y"; sha256 = "sha256-o6c1ZcGFZ3pwinzMTif1nqF29Wq0Nog1++ZoJGuiKxo=";
}; };
nativeBuildInputs = [ nativeBuildInputs = [
@ -61,10 +62,13 @@ buildPythonPackage rec {
pybind11 pybind11
]; ];
patches = [ postPatch = ''
# TODO: remove in favor of qiskit-aer PR #877 patch once accepted/stable substituteInPlace setup.py --replace "'cmake!=3.17,!=3.17.0'," ""
./remove-conan-install.patch '';
];
preBuild = ''
export DISABLE_CONAN=1
'';
dontUseCmakeConfigure = true; dontUseCmakeConfigure = true;