1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 miniful,
6 numpy,
7 pythonOlder,
8}:
9
10buildPythonPackage rec {
11 pname = "fst-pso";
12 version = "1.8.1";
13 format = "setuptools";
14
15 disabled = pythonOlder "3.7";
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-s9FuwnsLTTazWzBq9AwAzQs05eCp4wpx7QJJDolUomo=";
20 };
21
22 propagatedBuildInputs = [
23 miniful
24 numpy
25 ];
26
27 # Module has no tests
28 doCheck = false;
29
30 pythonImportsCheck = [ "fstpso" ];
31
32 meta = with lib; {
33 description = "Fuzzy Self-Tuning PSO global optimization library";
34 homepage = "https://github.com/aresio/fst-pso";
35 license = with licenses; [ lgpl3Only ];
36 maintainers = with maintainers; [ fab ];
37 };
38}