ntopng: 6.0 -> 6.2

This commit is contained in:
Azat Bahawi 2024-08-25 14:17:46 +03:00
parent bd29cb4b30
commit b71d04bcc6
No known key found for this signature in database
GPG Key ID: C8C6BDDB3847F72B

View File

@ -28,21 +28,16 @@
stdenv.mkDerivation (finalAttrs: {
pname = "ntopng";
version = "6.0";
version = "6.2";
src = fetchFromGitHub {
owner = "ntop";
repo = "ntopng";
rev = "refs/tags/${finalAttrs.version}";
hash = "sha256-zLtJ4x1eWtvnd60iNuNkMOX8LinZMEJHSt/Y0FVQ8vw=";
hash = "sha256-8PG18mOV/6EcBpKt9kLyI40OLDnpnc2b4IUu9JbK/Co=";
fetchSubmodules = true;
};
patches = lib.optional (!lib.versionOlder rrdtool.version "1.9.0") (fetchpatch {
url = "https://github.com/ntop/ntopng/commit/5069aa4a6259bd0830a33f2ece980612dba5ace9.patch";
hash = "sha256-CnYzSE39J7pC2wHxp7Xst6g5pzQbpNUynJUVrTrtuOg=";
});
preConfigure = ''
substituteInPlace Makefile.in \
--replace "/bin/rm" "rm"