python310Packages.simpful: init at 2.10.0

This commit is contained in:
Fabian Affolter
2023-04-30 18:52:37 +02:00
parent e4a4848cc2
commit 4a288de75a
2 changed files with 57 additions and 0 deletions
@@ -0,0 +1,55 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, matplotlib
, numpy
, pytestCheckHook
, pythonOlder
, scipy
, seaborn
, requests
}:
buildPythonPackage rec {
pname = "simpful";
version = "2.10.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "aresio";
repo = pname;
rev = "refs/tags/${version}";
hash = "sha256-vT7Y/6bD+txEVEw/zelMogQ0V7BIHHRitrC1COByzhY=";
};
propagatedBuildInputs = [
numpy
scipy
requests
];
passthru.optional-dependencies = {
plotting = [
matplotlib
seaborn
];
};
nativeCheckInputs = [
pytestCheckHook
] ++ lib.flatten (builtins.attrValues passthru.optional-dependencies);
pythonImportsCheck = [
"simpful"
];
meta = with lib; {
description = "Library for fuzzy logic";
homepage = "https://github.com/aresio/simpful";
changelog = "https://github.com/aresio/simpful/releases/tag/${version}";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}
+2
View File
@@ -10848,6 +10848,8 @@ self: super: with self; {
simplisafe-python = callPackage ../development/python-modules/simplisafe-python { };
simpful = callPackage ../development/python-modules/simpful { };
simpy = callPackage ../development/python-modules/simpy { };
single-version = callPackage ../development/python-modules/single-version { };