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