nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 gensim,
6 numpy,
7 pandas,
8 pyfume,
9 setuptools,
10 scipy,
11}:
12
13buildPythonPackage rec {
14 pname = "fuzzytm";
15 version = "2.0.9";
16 pyproject = true;
17
18 src = fetchPypi {
19 pname = "FuzzyTM";
20 inherit version;
21 hash = "sha256-z0ESYtB7BqssxIHlrd0F+/qapOM1nrDi3Zih5SvgDGY=";
22 };
23
24 build-system = [ setuptools ];
25
26 dependencies = [
27 gensim
28 numpy
29 pandas
30 pyfume
31 scipy
32 ];
33
34 # Module has no tests
35 doCheck = false;
36
37 pythonImportsCheck = [ "FuzzyTM" ];
38
39 meta = {
40 description = "Library for Fuzzy Topic Models";
41 homepage = "https://github.com/ERijck/FuzzyTM";
42 license = lib.licenses.gpl2Only;
43 maintainers = with lib.maintainers; [ fab ];
44 };
45}