mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-21 08:01:31 +00:00
pythonPackages.python-louvain: init at 0.15 (#127818)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
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 ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user