bscpkgs/pkgs/sonar/default.nix

27 lines
453 B
Nix
Raw Permalink Normal View History

2023-09-06 15:33:55 +02:00
{
stdenv
, autoreconfHook
, fetchFromGitHub
2023-09-06 15:33:55 +02:00
, ovni
, mpi
}:
stdenv.mkDerivation rec {
pname = "sonar";
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
];
}