19 buildPythonPackage rec {
20 pname = "qiskit-optimization";
23 disabled = pythonOlder "3.6";
25 src = fetchFromGitHub {
28 rev = "refs/tags/${version}";
29 hash = "sha256-N4mf5ins0x+yUAIq+yyjSnUrHcaEhH/Jpid/QMhIjE0=";
33 substituteInPlace requirements.txt --replace "networkx>=2.2,<2.6" "networkx"
36 propagatedBuildInputs = [
52 pythonImportsCheck = [ "qiskit_optimization" ];
53 pytestFlagsArray = [ "--durations=10" ];
56 description = "Software for developing quantum computing programs";
57 homepage = "https://qiskit.org";
58 downloadPage = "https://github.com/QISKit/qiskit-optimization/releases";
59 changelog = "https://qiskit.org/documentation/release_notes.html";
60 license = licenses.asl20;
61 maintainers = with maintainers; [ drewrisinger ];