From 51e331a9d999c8a5034bed8d56cfba86a8f2f1c1 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Fri, 20 Oct 2023 17:26:38 +0200 Subject: [PATCH] Update sonar to 0.2.0 and use GitHub Reviewed-By: Aleix Roca Nonell --- pkgs/sonar/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/pkgs/sonar/default.nix b/pkgs/sonar/default.nix index 69b0ddc..b241e42 100644 --- a/pkgs/sonar/default.nix +++ b/pkgs/sonar/default.nix @@ -1,17 +1,19 @@ { stdenv , autoreconfHook +, fetchFromGitHub , ovni , mpi }: stdenv.mkDerivation rec { pname = "sonar"; - version = "0.1.0"; - src = builtins.fetchGit { - url = "ssh://git@bscpm03.bsc.es/ovni/sonar"; - ref = "refs/tags/${version}"; - rev = "1299731b56addc18f530f7327f62267624c4363a"; + version = "0.2.0"; + src = fetchFromGitHub { + owner = "bsc-pm"; + repo = "sonar"; + rev = "${version}"; + sha256 = "sha256-iQSw4PbFk0EALXPHpLBPPQ7U8Ed8fkez1uG9MuF6PJo="; }; hardeningDisable = [ "all" ]; dontStrip = true;