2020-11-30 08:33:03 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, isPy27
|
|
|
|
, fetchFromGitHub
|
|
|
|
, matplotlib
|
|
|
|
, networkx
|
|
|
|
, nose
|
|
|
|
, numpy
|
|
|
|
, scipy
|
|
|
|
, pytestCheckHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "scikit-fuzzy";
|
2022-11-21 17:40:18 +00:00
|
|
|
version = "unstable-2022-11-07";
|
2020-11-30 08:33:03 +00:00
|
|
|
disabled = isPy27;
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
2022-11-21 17:40:18 +00:00
|
|
|
rev = "d8c45c259d62955004379592e45bc64c8e002fc3";
|
|
|
|
hash = "sha256-kS48aHC719wUdc2WcJa9geoMUcLHSj7ZsoRZYAhF2a0=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ networkx numpy scipy ];
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ matplotlib nose pytestCheckHook ];
|
2020-11-30 08:33:03 +00:00
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
pythonImportsCheck = [ "skfuzzy" ];
|
2021-09-22 15:38:15 +00:00
|
|
|
|
2020-11-30 08:33:03 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/scikit-fuzzy/scikit-fuzzy";
|
|
|
|
description = "Fuzzy logic toolkit for scientific Python";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = [ maintainers.bcdarwin ];
|
|
|
|
};
|
|
|
|
}
|