Merge pull request #229327 from fabaff/fuzzytm

python310Packages.gensim: 4.3.0 -> 4.3.1, python310Packages.fuzzytm: init at 2.0.5
This commit is contained in:
Fabian Affolter 2023-05-02 07:42:01 +02:00 committed by GitHub
commit 43dcd61900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 100 additions and 6 deletions

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, gensim
, numpy
, pandas
, pyfume
, scipy
, pythonOlder
}:
buildPythonPackage rec {
pname = "fuzzytm";
version = "2.0.5";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "FuzzyTM";
inherit version;
hash = "sha256-IELkjd3/yc2lBYsLP6mms9LEcXOfVtNNooEKCMf9BtU=";
};
propagatedBuildInputs = [
gensim
numpy
pandas
pyfume
scipy
];
# Module has no tests
doCheck = false;
pythonImportsCheck = [
"FuzzyTM"
];
meta = with lib; {
description = "Library for Fuzzy Topic Models";
homepage = "https://github.com/ERijck/FuzzyTM";
license = licenses.gpl2Only;
maintainers = with maintainers; [ fab ];
};
}

View File

@ -14,14 +14,14 @@
buildPythonPackage rec {
pname = "gensim";
version = "4.3.0";
version = "4.3.1";
format = "setuptools";
disabled = pythonOlder "3.6";
disabled = pythonOlder "3.8";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZL1+ximQIVh4gi6LJWnRg1BU9WzfU2AN3+mSfjHztI0=";
hash = "sha256-i18RwOalMICGtI6PaEEiOk+ho31RNoRhK37oVLUzAV8=";
};
nativeBuildInputs = [
@ -54,10 +54,8 @@ buildPythonPackage rec {
meta = with lib; {
description = "Topic-modelling library";
homepage = "https://radimrehurek.com/gensim/";
changelog = "https://github.com/RaRe-Technologies/gensim/blob/${version}/CHANGELOG.md";
license = licenses.lgpl21Only;
maintainers = with maintainers; [ jyp ];
# python310 errors as: No matching distribution found for FuzzyTM>=0.4.0
# python311 errors as: longintrepr.h: No such file or directory
broken = true; # At 2023-02-05
};
}

View File

@ -0,0 +1,46 @@
{ lib
, buildPythonPackage
, fetchPypi
, fst-pso
, numpy
, pandas
, pythonOlder
, scipy
, simpful
}:
buildPythonPackage rec {
pname = "pyfume";
version = "0.2.25";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi {
pname = "pyFUME";
inherit version;
hash = "sha256-uD1IHFyNd9yv3eyHPZ4pg6X2+rLTY5sYsQysuIXbvfA=";
};
propagatedBuildInputs = [
fst-pso
numpy
pandas
scipy
simpful
];
# Module has not test
doCheck = false;
pythonImportsCheck = [
"pyfume"
];
meta = with lib; {
description = "A Python package for fuzzy model estimation";
homepage = "https://github.com/CaroFuchs/pyFUME";
license = with licenses; [ gpl3Only ];
maintainers = with maintainers; [ fab ];
};
}

View File

@ -3804,6 +3804,8 @@ self: super: with self; {
fuzzyfinder = callPackage ../development/python-modules/fuzzyfinder { };
fuzzytm = callPackage ../development/python-modules/fuzzytm { };
fuzzywuzzy = callPackage ../development/python-modules/fuzzywuzzy { };
fvs = callPackage ../development/python-modules/fvs { };
@ -8363,6 +8365,8 @@ self: super: with self; {
pyfttt = callPackage ../development/python-modules/pyfttt { };
pyfume = callPackage ../development/python-modules/pyfume { };
pyfuse3 = callPackage ../development/python-modules/pyfuse3 { };
pyfxa = callPackage ../development/python-modules/pyfxa { };