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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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 ];
};
}

View file

@ -6924,6 +6924,8 @@ in {
python-logstash = callPackage ../development/python-modules/python-logstash { };
python-louvain = callPackage ../development/python-modules/python-louvain { };
python-ly = callPackage ../development/python-modules/python-ly { };
python-lz4 = callPackage ../development/python-modules/python-lz4 { };