pythonPackages.python-louvain: init at 0.15 (#127818)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
erictapen
2021-06-23 15:44:43 +02:00
committed by GitHub
parent d8f788e7f3
commit 6f67d1734a
2 changed files with 31 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{ 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 ];
# no tests
doCheck = false;
pythonImportsCheck = [ "community" ];
meta = with lib; {
homepage = "https://github.com/taynaud/python-louvain";
description = "Louvain Community Detection";
license = licenses.bsd3;
maintainers = with maintainers; [ erictapen ];
};
}