12 buildPythonPackage rec {
15 format = "setuptools";
17 disabled = pythonOlder "3.7";
20 inherit pname version;
21 hash = "sha256-flz+O2+A8yuQ9V81xo1KmQsEibEoLPP6usjNpJiJdfM=";
25 substituteInPlace ./setup.py \
26 --replace "[\"/usr/include/igraph\", \"/usr/local/include/igraph\"]" \
27 "[\"${igraph-c.dev}/include/igraph\"]"
36 propagatedBuildInputs = [
46 pythonImportsCheck = [ "leidenalg" ];
49 description = "Implementation of the Leiden algorithm for various quality functions to be used with igraph in Python";
50 homepage = "https://leidenalg.readthedocs.io";
51 license = licenses.gpl3Only;
52 maintainers = with maintainers; [ jboy ];