depot/third_party/nixpkgs/pkgs/development/python-modules/python-louvain/default.nix
Default email 841d9c7fc1 Project import generated by Copybara.
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
2021-06-29 00:13:55 +01:00

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