Merge pull request #101465 from ryantm/sonar-scanner-cli

sonar-scanner-bin: rename to sonar-scanner-cli, 3.3.0.1492 -> 4.5.0.2216
This commit is contained in:
Ryan Mulligan 2020-10-23 09:59:59 -07:00 committed by GitHub
commit 3c96aceb3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -2,22 +2,22 @@
let
version = "3.3.0.1492";
version = "4.5.0.2216";
sonarScannerArchPackage = {
"x86_64-linux" = {
url = "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${version}-linux.zip";
sha256 = "1vn22d1i14440wlym0kxzbmjlxd9x9b0wc2ifm8fwig1xvnwpjwd";
sha256 = "sha256-rmvDb5l2BGV8j94Uhu2kJXwoDAHA3VncAahqGvLY3I0=";
};
"x86_64-darwin" = {
url = "https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${version}-macosx.zip";
sha256 = "1m7cplak63m2rmad7f2s1iksi1qn43m2h1jm0qh3m219xcpl632i";
sha256 = "1g3lldpkrjlvwld9h82hlwclyplxpbk4q3nq59ylw4dhp26kb993";
};
};
in stdenv.mkDerivation rec {
inherit version;
name = "sonar-scanner-bin-${version}";
pname = "sonar-scanner-cli";
src = fetchurl sonarScannerArchPackage.${stdenv.hostPlatform.system};
@ -38,9 +38,9 @@ in stdenv.mkDerivation rec {
'';
meta = with lib; {
homepage = https://github.com/SonarSource/sonar-scanner-cli;
homepage = "https://github.com/SonarSource/sonar-scanner-cli";
description = "SonarQube Scanner used to start code analysis";
license = licenses.gpl3;
license = licenses.gpl3Plus;
maintainers = with maintainers; [ peterromfeldhk ];
platforms = builtins.attrNames sonarScannerArchPackage;
};

View File

@ -7114,7 +7114,7 @@ in
inherit (darwin.apple_sdk.frameworks) Security;
};
sonar-scanner-bin = callPackage ../tools/security/sonar-scanner-bin { };
sonar-scanner-cli = callPackage ../tools/security/sonar-scanner-cli { };
solr = callPackage ../servers/search/solr { };
solr_7 = solr;