mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
python3Packages.ecos: fix test_interface_bb.py tests
This commit is contained in:
parent
1abfd19e15
commit
8240e2069a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user