about summary refs log tree commit diff
path: root/pkgs/development/python-modules/python-louvain/default.nix
blob: 262370f6109d566f3eb958a6f14f7aee20a46550 (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
{ lib
, fetchPypi
, buildPythonPackage
, networkx
, numpy }:

buildPythonPackage rec {
  pname = "python-louvain";
  version = "0.16";

  src = fetchPypi {
    inherit pname version;
    sha256 = "sha256-t7ot9QAv0o0+54mklTK6rRH+ZI5PIRfPB5jnUgodpWs=";
  };

  propagatedBuildInputs = [ networkx numpy ];

  pythonImportsCheck = [ "community" ];

  meta = with lib; {
    homepage = "https://github.com/taynaud/python-louvain";
    description = "Louvain Community Detection";
    license = licenses.bsd3;
    maintainers = with maintainers; [ erictapen ];
  };
}