about summary refs log tree commit diff
path: root/pkgs/by-name/lo/louvain-community/package.nix
blob: 21ef70400c690d09e6e692ee2c5fc6d473f4e6bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{ stdenv
, fetchFromGitHub
, cmake
, lib
, unstableGitUpdater
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "louvain-community";
  version = "0-unstable-2024-01-30";

  src = fetchFromGitHub {
    owner = "meelgroup";
    repo = "louvain-community";
    rev = "681a711a530ded0b25af72ee4881d453a80ac8ac";
    hash = "sha256-mp2gneTtm/PaCqz4JNOZgdKmFoV5ZRVwNYjHc4s2KuY=";
  };

  nativeBuildInputs = [ cmake ];

  passthru.updateScript = unstableGitUpdater {};

  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;
  };
})