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