pythonPackages.python-louvain: init at 0.15 (#127818)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
d8f788e7f3
commit
6f67d1734a
2 changed files with 31 additions and 0 deletions
29
pkgs/development/python-modules/python-louvain/default.nix
Normal file
29
pkgs/development/python-modules/python-louvain/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -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 { };
|
||||
|
|
Loading…
Reference in a new issue