1a04744f74
There is no need to disable Python packages for Python versions that are
no longer in Nixpkgs.
This change was generated using the following script:
pattern='^\s*disabled\s*=\s*pythonOlder\s*"3\.\([0-9]\|10\)"\s*;\s*$'
for f in $(find -name '*.nix'); do
grep -q "$pattern" "$f" || continue
sed -i "/$pattern/d" "$f"
if [ $(grep -c pythonOlder "$f") == 1 ]; then
sed -i '/^\s*pythonOlder,\s*$/d' "$f"
fi
nixfmt "$f"
done
46 lines
737 B
Nix
46 lines
737 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
gensim,
|
|
numpy,
|
|
pandas,
|
|
pyfume,
|
|
setuptools,
|
|
scipy,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "fuzzytm";
|
|
version = "2.0.9";
|
|
pyproject = true;
|
|
|
|
src = fetchPypi {
|
|
pname = "FuzzyTM";
|
|
inherit version;
|
|
hash = "sha256-z0ESYtB7BqssxIHlrd0F+/qapOM1nrDi3Zih5SvgDGY=";
|
|
};
|
|
|
|
build-system = [ setuptools ];
|
|
|
|
dependencies = [
|
|
gensim
|
|
numpy
|
|
pandas
|
|
pyfume
|
|
scipy
|
|
];
|
|
|
|
# Module has no tests
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "FuzzyTM" ];
|
|
|
|
meta = {
|
|
description = "Library for Fuzzy Topic Models";
|
|
homepage = "https://github.com/ERijck/FuzzyTM";
|
|
license = lib.licenses.gpl2Only;
|
|
maintainers = with lib.maintainers; [ fab ];
|
|
};
|
|
}
|