Something went wrong. Try again.
lol
Something went wrong. Try again.
987 B · 48 lines
Nix
at master
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849{ lib, buildPythonPackage, ddt, fetchFromGitHub, igraph, igraph-c, libleidenalg, setuptools-scm, unittestCheckHook,}:
buildPythonPackage rec { pname = "leidenalg"; version = "0.11.0"; pyproject = true;
src = fetchFromGitHub { owner = "vtraag"; repo = "leidenalg"; tag = version; hash = "sha256-u4xW1gsWDpbsFVLlOIiPZtpw9t4iFBC7fzwn04flev8="; };
build-system = [ setuptools-scm ];
buildInputs = [ igraph-c libleidenalg ];
propagatedBuildInputs = [ igraph ];
nativeCheckInputs = [ ddt unittestCheckHook ];
pythonImportsCheck = [ "leidenalg" ];
meta = { changelog = "https://github.com/vtraag/leidenalg/blob/${src.tag}/CHANGELOG"; description = "Implementation of the Leiden algorithm for various quality functions to be used with igraph in Python"; homepage = "https://github.com/vtraag/leidenalg"; license = lib.licenses.gpl3Plus; maintainers = with lib.maintainers; [ jboy ]; };}