2023-12-28 08:25:02 +00:00
|
|
|
{ stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, lib
|
2024-01-29 16:17:36 +00:00
|
|
|
, unstableGitUpdater
|
2023-12-28 08:25:02 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
|
|
pname = "louvain-community";
|
2024-01-29 16:17:36 +00:00
|
|
|
version = "unstable-2024-01-30";
|
2023-12-28 08:25:02 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "meelgroup";
|
|
|
|
repo = "louvain-community";
|
2024-01-29 16:17:36 +00:00
|
|
|
rev = "681a711a530ded0b25af72ee4881d453a80ac8ac";
|
|
|
|
hash = "sha256-mp2gneTtm/PaCqz4JNOZgdKmFoV5ZRVwNYjHc4s2KuY=";
|
2023-12-28 08:25:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2024-01-29 16:17:36 +00:00
|
|
|
passthru.updateScript = unstableGitUpdater {};
|
|
|
|
|
2023-12-28 08:25:02 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Louvain Community Detection Library";
|
|
|
|
homepage = "https://github.com/meelgroup/louvain-community";
|
|
|
|
license = licenses.lgpl3Only;
|
|
|
|
maintainers = with maintainers; [ t4ccer ];
|
|
|
|
platforms = platforms.unix;
|
|
|
|
};
|
|
|
|
})
|