10 buildPythonPackage rec {
11 pname = "python-louvain";
13 format = "setuptools";
16 inherit pname version;
17 hash = "sha256-t7ot9QAv0o0+54mklTK6rRH+ZI5PIRfPB5jnUgodpWs=";
23 name = "fix-karate-test-networkx-2.7.patch";
24 url = "https://github.com/taynaud/python-louvain/pull/95/commits/c95d767e72f580cb15319fe08d72d87c9976640b.patch";
25 hash = "sha256-9oJ9YvKl2sI8oGhfyauNS+HT4kXsDt0L8S2owluWdj0=";
29 propagatedBuildInputs = [ networkx numpy ];
31 pythonImportsCheck = [ "community" ];
33 nativeCheckInputs = [ pandas scipy ];
36 homepage = "https://github.com/taynaud/python-louvain";
37 description = "Louvain Community Detection";
38 mainProgram = "community";
39 license = licenses.bsd3;
40 maintainers = with maintainers; [ ];