mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-30 17:43:42 +00:00
27 lines
562 B
Nix
27 lines
562 B
Nix
{ 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 ];
|
|
};
|
|
}
|