louvain-community: unstable-2021-03-18 -> unstable-2024-01-30
Without the change the build against `gcc-13` fails as: https://cache.nixos.org/log/xpqnf8kk3wxgqspxf2khipxlv0wf8i36-louvain-community-unstable-2021-03-18.drv /build/source/src/louvain_communities.cpp: At global scope: /build/source/src/louvain_communities.cpp:60:5: error: 'uint32_t' does not name a type 60 | uint32_t verbosity = 0; | ^~~~~~~~ /build/source/src/louvain_communities.cpp:44:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'? 43 | #include "GitSHA1.h" +++ |+#include <cstdint> 44 | While at it added a trivial unstable updater.
This commit is contained in:
@@ -2,21 +2,24 @@
|
||||
, fetchFromGitHub
|
||||
, cmake
|
||||
, lib
|
||||
, unstableGitUpdater
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "louvain-community";
|
||||
version = "unstable-2021-03-18";
|
||||
version = "unstable-2024-01-30";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "meelgroup";
|
||||
repo = "louvain-community";
|
||||
rev = "8cc5382d4844af127b1c1257373740d7e6b76f1e";
|
||||
hash = "sha256-0i3wrDdOyleOPv5iVO1YzPfTPnIdljLabCvl3SYEQOs=";
|
||||
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";
|
||||
|
||||
Reference in New Issue
Block a user