From abfd8484ee8a0746990133f79b997ec087e0c40a Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Wed, 6 Sep 2023 15:33:55 +0200 Subject: [PATCH] Add sonar library --- bsc/sonar/default.nix | 24 ++++++++++++++++++++++++ overlay.nix | 3 +++ 2 files changed, 27 insertions(+) create mode 100644 bsc/sonar/default.nix diff --git a/bsc/sonar/default.nix b/bsc/sonar/default.nix new file mode 100644 index 0000000..951cca0 --- /dev/null +++ b/bsc/sonar/default.nix @@ -0,0 +1,24 @@ +{ + 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"; + rev = "1ab3d99d57e1da785bc1addac620b3358c8bbb16"; + }; + hardeningDisable = [ "all" ]; + dontStrip = true; + configureFlags = [ "--with-ovni=${ovni}" ]; + buildInputs = [ + autoreconfHook + ovni + mpi + ]; +} diff --git a/overlay.nix b/overlay.nix index 3c7c9bc..6450399 100644 --- a/overlay.nix +++ b/overlay.nix @@ -224,6 +224,9 @@ let tampiRelease = callPackage ./bsc/tampi/default.nix { }; tampiGit = callPackage ./bsc/tampi/git.nix { }; + # Sonar + sonar = callPackage ./bsc/sonar/default.nix { }; + # ================================================================= # GASPI # =================================================================