{ lib , pythonOlder , buildPythonPackage , fetchFromGitHub # Python Inputs , qiskit-aer , qiskit-aqua , qiskit-ibmq-provider , qiskit-ignis , qiskit-terra # Check Inputs , pytestCheckHook }: buildPythonPackage rec { pname = "qiskit"; # NOTE: This version denotes a specific set of subpackages. See https://qiskit.org/documentation/release_notes.html#version-history version = "0.24.0"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "qiskit"; repo = "qiskit"; rev = version; sha256 = "1b78q75bi666v0yj33bkjlc40d2172dsq5yp1s2kkisjfa8qmh7h"; }; propagatedBuildInputs = [ qiskit-aer qiskit-aqua qiskit-ibmq-provider qiskit-ignis qiskit-terra ]; checkInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "qiskit" "qiskit.aqua" "qiskit.circuit" "qiskit.ignis" "qiskit.providers.aer" "qiskit.providers.ibmq" ]; meta = with lib; { description = "Software for developing quantum computing programs"; homepage = "https://qiskit.org"; downloadPage = "https://github.com/QISKit/qiskit/releases"; changelog = "https://qiskit.org/documentation/release_notes.html"; license = licenses.asl20; maintainers = with maintainers; [ drewrisinger pandaman ]; }; }