blob: d10e15ae37bb70b2b5fa5d3b685a92e0f7a258d4 (
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
41
42
43
44
45
46
47
48
49
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
matplotlib,
networkx,
numpy,
scipy,
pytestCheckHook,
}:
buildPythonPackage rec {
pname = "scikit-fuzzy";
version = "0.5.0";
pyproject = true;
src = fetchFromGitHub {
owner = "scikit-fuzzy";
repo = "scikit-fuzzy";
tag = "v${version}";
hash = "sha256-02aIYBdbQXQD9S1R/gZZeKTn5LxloE0GGGRttxJnR/o=";
};
build-system = [ setuptools ];
dependencies = [
networkx
numpy
scipy
];
nativeCheckInputs = [
matplotlib
pytestCheckHook
];
preCheck = "rm -rf build";
pythonImportsCheck = [ "skfuzzy" ];
meta = {
homepage = "https://github.com/scikit-fuzzy/scikit-fuzzy";
description = "Fuzzy logic toolkit for scientific Python";
changelog = "https://github.com/scikit-fuzzy/scikit-fuzzy/releases/tag/${src.tag}";
license = lib.licenses.bsd3;
maintainers = [ lib.maintainers.bcdarwin ];
};
}
|