2023-09-06 15:33:55 +02:00
|
|
|
{
|
|
|
|
stdenv
|
|
|
|
, autoreconfHook
|
|
|
|
, ovni
|
|
|
|
, mpi
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "sonar";
|
|
|
|
version = src.shortRev;
|
|
|
|
src = builtins.fetchGit {
|
|
|
|
url = "ssh://git@bscpm03.bsc.es/ovni/sonar";
|
|
|
|
ref = "main";
|
2023-09-06 17:57:18 +02:00
|
|
|
rev = "1299731b56addc18f530f7327f62267624c4363a";
|
2023-09-06 15:33:55 +02:00
|
|
|
};
|
|
|
|
hardeningDisable = [ "all" ];
|
|
|
|
dontStrip = true;
|
|
|
|
configureFlags = [ "--with-ovni=${ovni}" ];
|
|
|
|
buildInputs = [
|
|
|
|
autoreconfHook
|
|
|
|
ovni
|
|
|
|
mpi
|
|
|
|
];
|
|
|
|
}
|