2023-09-06 15:33:55 +02:00
|
|
|
{
|
|
|
|
stdenv
|
|
|
|
, autoreconfHook
|
2023-10-20 17:26:38 +02:00
|
|
|
, fetchFromGitHub
|
2023-09-06 15:33:55 +02:00
|
|
|
, ovni
|
|
|
|
, mpi
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sonar";
|
2023-10-20 17:26:38 +02:00
|
|
|
version = "0.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "bsc-pm";
|
|
|
|
repo = "sonar";
|
|
|
|
rev = "${version}";
|
|
|
|
sha256 = "sha256-iQSw4PbFk0EALXPHpLBPPQ7U8Ed8fkez1uG9MuF6PJo=";
|
2023-09-06 15:33:55 +02:00
|
|
|
};
|
|
|
|
hardeningDisable = [ "all" ];
|
|
|
|
dontStrip = true;
|
|
|
|
configureFlags = [ "--with-ovni=${ovni}" ];
|
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
ovni
|
|
|
|
mpi
|
|
|
|
];
|
|
|
|
}
|