23 buildPythonPackage rec {
24 pname = "qiskit-optimization";
28 disabled = pythonOlder "3.6";
30 src = fetchFromGitHub {
33 rev = "refs/tags/${version}";
34 hash = "sha256-kzEuICajlV8mgD0YLhwFJaDQVxYZo9jv3sr/r/P0VG0=";
38 substituteInPlace requirements.txt --replace "networkx>=2.2,<2.6" "networkx"
45 propagatedBuildInputs = [
61 pythonImportsCheck = [ "qiskit_optimization" ];
62 pytestFlagsArray = [ "--durations=10" ];
65 description = "Software for developing quantum computing programs";
66 homepage = "https://qiskit.org";
67 downloadPage = "https://github.com/QISKit/qiskit-optimization/releases";
68 changelog = "https://qiskit.org/documentation/release_notes.html";
69 license = licenses.asl20;
70 maintainers = with maintainers; [ drewrisinger ];