1{ lib 2, fetchPypi 3, buildPythonPackage 4, networkx 5, numpy }: 6 7buildPythonPackage rec { 8 pname = "python-louvain"; 9 version = "0.15"; 10 11 src = fetchPypi { 12 inherit pname version; 13 sha256 = "sha256-KoVu374plSpgpVOKhLt4zKGPaISoi5Ml6FoRyN1JF+s="; 14 }; 15 16 propagatedBuildInputs = [ networkx numpy ]; 17 18 pythonImportsCheck = [ "community" ]; 19 20 meta = with lib; { 21 homepage = "https://github.com/taynaud/python-louvain"; 22 description = "Louvain Community Detection"; 23 license = licenses.bsd3; 24 maintainers = with maintainers; [ erictapen ]; 25 }; 26}