Subject: [PATCH] gnu: Add python-scikit-opt.
From: TimotheeMathieu <[email-masked]>
To: [email-masked]
Cc: TimotheeMathieu <[email-masked]>
Date: Sat, 20 Jan 2024 12:41:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/python-science.scm (python-scikit-opt): New variable.

Change-Id: I47d6b35d9658a37a242b4db61d293fa7efd33802
---
 gnu/packages/python-science.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index 3c131fe730..b385f0b211 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -318,6 +318,27 @@ (define-public python-scikit-image
      "Scikit-image is a collection of algorithms for image processing.")
     (license license:bsd-3)))
 
+(define-public python-scikit-opt
+  (package
+    (name "python-scikit-opt")
+    (version "0.6.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "scikit-opt" version))
+       (sha256
+        (base32 "0ycqizgsj7q57asc1bphzhf1fx9zqn0vx5rli7q541bas64hfqiy"))))
+    (build-system pyproject-build-system)
+    (propagated-inputs (list python-numpy python-scipy))
+    (home-page "https://github.com/guofei9987/scikit-opt")
+    (synopsis "Swarm Intelligence in Python")
+    (description
+     "Scikit-opt(or sko) is a Python module of Swarm Intelligence
+                  Algorithm.  Such as Genetic Algorithm, Particle Swarm Optimization,
+                  Simulated Annealing, Ant Colony Algorithm, Immune Algorithm,
+                  Artificial Fish Swarm Algorithm.")
+    (license license:expat)))
+
 (define-public python-scikit-optimize
   (package
     (name "python-scikit-optimize")

base-commit: 9c367ee1967b213b507a8bf041ea6c2623ceea96
-- 
2.41.0