841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
26 lines
562 B
Nix
26 lines
562 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, networkx
|
|
, numpy }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "python-louvain";
|
|
version = "0.15";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "sha256-KoVu374plSpgpVOKhLt4zKGPaISoi5Ml6FoRyN1JF+s=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|