bscpkgs/pkgs/sonar/default.nix
Rodrigo Arias Mallo 51e331a9d9 Update sonar to 0.2.0 and use GitHub
Reviewed-By: Aleix Roca Nonell <aleix.rocanonell@bsc.es>
2023-10-25 16:06:25 +02:00

27 lines
453 B
Nix

{
stdenv
, autoreconfHook
, fetchFromGitHub
, ovni
, mpi
}:
stdenv.mkDerivation rec {
pname = "sonar";
version = "0.2.0";
src = fetchFromGitHub {
owner = "bsc-pm";
repo = "sonar";
rev = "${version}";
sha256 = "sha256-iQSw4PbFk0EALXPHpLBPPQ7U8Ed8fkez1uG9MuF6PJo=";
};
hardeningDisable = [ "all" ];
dontStrip = true;
configureFlags = [ "--with-ovni=${ovni}" ];
buildInputs = [
autoreconfHook
ovni
mpi
];
}