otf2: init at 3.0.3 (#388838)

This commit is contained in:
Thomas Gerbet
2025-03-23 16:47:06 +01:00
committed by GitHub
+35
View File
@@ -0,0 +1,35 @@
{
lib,
stdenv,
fetchurl,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "otf2";
version = "3.0.3";
src = fetchurl {
url = "http://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/otf2-${finalAttrs.version}/otf2-${finalAttrs.version}.tar.gz";
hash = "sha256-GKOQX3kXNAOH4+3I5XZvMasa9B9OzFZl2mx2nKIcTug=";
};
configureFlags = [
"--enable-backend-test-runs"
];
nativeInstallCheckInputs = [ versionCheckHook ];
doCheck = true;
doInstallCheck = true;
versionCheckProgram = [ "${placeholder "out"}/bin/otf2-config" ];
meta = {
homepage = "https://www.vi-hps.org/projects/score-p";
changelog = "https://perftools.pages.jsc.fz-juelich.de/cicd/otf2/tags/otf2-${finalAttrs.version}/ChangeLog.txt";
description = "Open Trace Format 2 library";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ lesuisse ];
};
})