depot/third_party/nixpkgs/pkgs/development/python-modules/python-louvain/default.nix
Default email 81047829ea Project import generated by Copybara.
GitOrigin-RevId: 48d63e924a2666baf37f4f14a18f19347fbd54a2
2022-02-10 15:34:41 -05:00

26 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 ];
};
}