python3Packages.ecos: fix test_interface_bb.py tests

This commit is contained in:
Alexandre Iooss 2022-10-03 18:18:40 +02:00 committed by Frederik Rietdijk
parent 1abfd19e15
commit 8240e2069a

View file

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, nose
, numpy
, pythonOlder
@ -22,6 +23,15 @@ buildPythonPackage rec {
fetchSubmodules = true;
};
patches = [
# Fix for test_interface_bb.py tests
(fetchpatch {
name = "test_interface_bb_use_nparray.patch";
url = "https://github.com/embotech/ecos-python/commit/4440dcb7ddbd92217bc83d8916b72b61537dffbf.patch";
hash = "sha256-pcTPviK916jzCLllRhopbC9wDHv+aS6GmV/92sUwzHc=";
})
];
propagatedBuildInputs = [
numpy
scipy