blob: 74ba8039b8b3f49bb2a719076a1b4dfbd95f750c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
{
lib,
buildPythonPackage,
fetchPypi,
miniful,
numpy,
setuptools,
}:
buildPythonPackage rec {
pname = "fst-pso";
version = "1.9.0";
pyproject = true;
src = fetchPypi {
pname = "fst_pso";
inherit version;
hash = "sha256-znf1A/Vcz5ELFGFrpDzdj8O3XEDxpu+mCCb35GfWqN8=";
};
build-system = [ setuptools ];
dependencies = [
miniful
numpy
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "fstpso" ];
meta = {
description = "Fuzzy Self-Tuning PSO global optimization library";
homepage = "https://github.com/aresio/fst-pso";
changelog = "https://github.com/aresio/fst-pso/releases/tag/${version}";
license = lib.licenses.lgpl3Only;
maintainers = with lib.maintainers; [ fab ];
};
}
|