28 buildPythonPackage rec {
29 pname = "qiskit-finance";
33 disabled = pythonOlder "3.6";
35 src = fetchFromGitHub {
38 rev = "refs/tags/${version}";
39 hash = "sha256-zYhYhojCzlENzgYSenwewjeVHUBX2X6eQbbzc9znBsk=";
43 substituteInPlace requirements.txt --replace "pandas<1.4.0" "pandas"
46 nativeBuildInputs = [ setuptools ];
48 propagatedBuildInputs = [
68 pythonImportsCheck = [ "qiskit_finance" ];
70 # Fail due to approximation error, ~1-2%
73 # Tests fail b/c require internet connection. Stalls tests if enabled.
78 pytestFlagsArray = [ "--durations=10" ];
81 description = "Software for developing quantum computing programs";
82 homepage = "https://qiskit.org";
83 downloadPage = "https://github.com/QISKit/qiskit-optimization/releases";
84 changelog = "https://qiskit.org/documentation/release_notes.html";
85 license = licenses.asl20;
86 maintainers = with maintainers; [ drewrisinger ];