jungle/pkgs/sonar/default.nix
Aleix Boné a4e0c14e5c
All checks were successful
CI / build:all (pull_request) Successful in 1h0m19s
CI / build:cross (pull_request) Successful in 1h7m24s
Enable meta.cross for mpich related packages
2025-10-30 15:34:20 +01:00

41 lines
832 B
Nix

{
stdenv
, lib
, autoreconfHook
, fetchFromGitHub
, ovni
, mpi
}:
stdenv.mkDerivation rec {
pname = "sonar";
version = "1.0.1";
src = fetchFromGitHub {
owner = "bsc-pm";
repo = "sonar";
rev = "${version}";
sha256 = "sha256-DazOEaiMfJLrZNtmQEEHdBkm/m4hq5e0mPEfMtzYqWk=";
};
hardeningDisable = [ "all" ];
dontStrip = true;
configureFlags = [ "--with-ovni=${ovni}" ];
nativeBuildInputs = [
autoreconfHook
];
buildInputs = [
ovni
mpi
];
meta = {
homepage = "https://github.com/bsc-pm/sonar";
description = "Set of runtime libraries which instrument parallel programming models through the ovni instrumentation library";
maintainers = with lib.maintainers.bsc; [ rarias ];
platforms = lib.platforms.linux;
license = lib.licenses.mit;
cross = true;
};
}