Merge pull request #229152 from fabaff/gensim-fix

python310Packages.miniful: init at 0.0.6, python310Packages.fst-pso: init at 1.8.1, python310Packages.simpful: init at 2.10.0
This commit is contained in:
Fabian Affolter 2023-05-01 17:11:55 +02:00 committed by GitHub
commit dea8e8f853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 139 additions and 0 deletions

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, miniful
, numpy
, pythonOlder
}:
buildPythonPackage rec {
pname = "fst-pso";
version = "1.8.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-s9FuwnsLTTazWzBq9AwAzQs05eCp4wpx7QJJDolUomo=";
};
propagatedBuildInputs = [
miniful
numpy
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"fstpso"
];
meta = with lib; {
description = "Fuzzy Self-Tuning PSO global optimization library";
homepage = "https://github.com/aresio/fst-pso";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -0,0 +1,39 @@
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, scipy
, pythonOlder
}:
buildPythonPackage rec {
pname = "miniful";
version = "0.0.6";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZCyfNrh8gbPvwplHN5tbmbjTMYXJBKe8Mg2JqOGHFCk=";
};
propagatedBuildInputs = [
numpy
scipy
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"miniful"
];
meta = with lib; {
description = "Minimal Fuzzy Library";
homepage = "https://github.com/aresio/miniful";
license = with licenses; [ lgpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -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 ];
};
}

View File

@ -3768,6 +3768,8 @@ self: super: with self; {
fsspec = callPackage ../development/python-modules/fsspec { }; fsspec = callPackage ../development/python-modules/fsspec { };
fst-pso = callPackage ../development/python-modules/fst-pso { };
ftfy = callPackage ../development/python-modules/ftfy { }; ftfy = callPackage ../development/python-modules/ftfy { };
ftputil = callPackage ../development/python-modules/ftputil { }; ftputil = callPackage ../development/python-modules/ftputil { };
@ -6112,6 +6114,8 @@ self: super: with self; {
minidump = callPackage ../development/python-modules/minidump { }; minidump = callPackage ../development/python-modules/minidump { };
miniful = callPackage ../development/python-modules/miniful { };
minikanren = callPackage ../development/python-modules/minikanren { }; minikanren = callPackage ../development/python-modules/minikanren { };
minikerberos = callPackage ../development/python-modules/minikerberos { }; minikerberos = callPackage ../development/python-modules/minikerberos { };
@ -10931,6 +10935,8 @@ self: super: with self; {
simplisafe-python = callPackage ../development/python-modules/simplisafe-python { }; simplisafe-python = callPackage ../development/python-modules/simplisafe-python { };
simpful = callPackage ../development/python-modules/simpful { };
simpy = callPackage ../development/python-modules/simpy { }; simpy = callPackage ../development/python-modules/simpy { };
single-version = callPackage ../development/python-modules/single-version { }; single-version = callPackage ../development/python-modules/single-version { };