Compare commits

...

1 Commits

Author SHA1 Message Date
Dmitry Kalinkin
8d8161e618 python3Packages.pymoo: 0.6.0 -> 0.6.0.1 2023-03-26 22:57:15 -04:00

View File

@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, pytestCheckHook
, writeText
, autograd
@@ -19,13 +20,13 @@
buildPythonPackage rec {
pname = "pymoo";
version = "0.6.0";
version = "0.6.0.1";
src = fetchFromGitHub {
owner = "anyoptimization";
repo = "pymoo";
rev = version;
hash = "sha256-dzKr+u84XmPShWXFjH7V9KzwJPGZz3msGOe1S7FlGTQ=";
hash = "sha256-+qtW7hfSo266n1SRzAgHIu99W5Sl+NYbKOHXv/JI9IA=";
};
pymoo_data = fetchFromGitHub {
@@ -35,6 +36,14 @@ buildPythonPackage rec {
hash = "sha256-iGWPepZw3kJzw5HKV09CvemVvkvFQ38GVP+BAryBSs0=";
};
patches = [
# https://github.com/anyoptimization/pymoo/pull/407
(fetchpatch {
url = "https://github.com/anyoptimization/pymoo/commit/be57ece64275469daece1e8ef12b2b6ee05362c9.diff";
hash = "sha256-BLPrUqNbAsAecfYahESEJF6LD+kehUYmkTvl/nvyqII=";
})
];
postPatch = ''
substituteInPlace setup.py \
--replace "cma==3.2.2" "cma" \