about summary refs log tree commit diff
path: root/pkgs/development/python-modules/fuzzytm/default.nix
blob: 3a86d0c553974d71f6967d0c077e30845967fb82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
  lib,
  buildPythonPackage,
  fetchPypi,
  gensim,
  numpy,
  pandas,
  pyfume,
  setuptools,
  scipy,
  pythonOlder,
}:

buildPythonPackage rec {
  pname = "fuzzytm";
  version = "2.0.9";
  pyproject = true;

  disabled = pythonOlder "3.7";

  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 = with lib; {
    description = "Library for Fuzzy Topic Models";
    homepage = "https://github.com/ERijck/FuzzyTM";
    license = licenses.gpl2Only;
    maintainers = with maintainers; [ fab ];
  };
}