From 413284d329cea187e4e7f54465a9dba75704bb00 Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Wed, 28 Jun 2023 00:25:52 +0000 Subject: [PATCH 1/3] checkstyle: 10.12.0 -> 10.12.1 --- pkgs/development/tools/analysis/checkstyle/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/tools/analysis/checkstyle/default.nix b/pkgs/development/tools/analysis/checkstyle/default.nix index d07b73f48fc2..63fd97439687 100644 --- a/pkgs/development/tools/analysis/checkstyle/default.nix +++ b/pkgs/development/tools/analysis/checkstyle/default.nix @@ -1,12 +1,12 @@ { lib, stdenv, fetchurl, makeWrapper, jre }: stdenv.mkDerivation rec { - version = "10.12.0"; + version = "10.12.1"; pname = "checkstyle"; src = fetchurl { url = "https://github.com/checkstyle/checkstyle/releases/download/checkstyle-${version}/checkstyle-${version}-all.jar"; - sha256 = "sha256-pA1K58kBZ3lZVgzg0NFYt+vA1JHOW+yW41t0ARlqvJE="; + sha256 = "sha256-K6pQjcvofybGEtRz1sTVhP534SoJsChg2psngVMIyrY="; }; nativeBuildInputs = [ makeWrapper ]; From 65d1a806c7f2ece8d886d81be4401129a9f5269d Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 28 Jun 2023 04:20:00 +0000 Subject: [PATCH 2/3] checkstyle: use stdenvNoCC --- pkgs/development/tools/analysis/checkstyle/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/tools/analysis/checkstyle/default.nix b/pkgs/development/tools/analysis/checkstyle/default.nix index 63fd97439687..9a4f6cdbf376 100644 --- a/pkgs/development/tools/analysis/checkstyle/default.nix +++ b/pkgs/development/tools/analysis/checkstyle/default.nix @@ -1,6 +1,6 @@ -{ lib, stdenv, fetchurl, makeWrapper, jre }: +{ lib, stdenvNoCC, fetchurl, makeBinaryWrapper, jre }: -stdenv.mkDerivation rec { +stdenvNoCC.mkDerivation rec { version = "10.12.1"; pname = "checkstyle"; @@ -9,7 +9,7 @@ stdenv.mkDerivation rec { sha256 = "sha256-K6pQjcvofybGEtRz1sTVhP534SoJsChg2psngVMIyrY="; }; - nativeBuildInputs = [ makeWrapper ]; + nativeBuildInputs = [ makeBinaryWrapper ]; buildInputs = [ jre ]; dontUnpack = true; From 44f0e53157afda60812bdd2f78c968bc55ec8592 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Wed, 28 Jun 2023 04:20:00 +0000 Subject: [PATCH 3/3] checkstyle: update meta --- pkgs/development/tools/analysis/checkstyle/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/analysis/checkstyle/default.nix b/pkgs/development/tools/analysis/checkstyle/default.nix index 9a4f6cdbf376..82394980fcf6 100644 --- a/pkgs/development/tools/analysis/checkstyle/default.nix +++ b/pkgs/development/tools/analysis/checkstyle/default.nix @@ -29,7 +29,8 @@ stdenvNoCC.mkDerivation rec { adheres to a coding standard. By default it supports the Sun Code Conventions, but is highly configurable. ''; - homepage = "http://checkstyle.sourceforge.net/"; + homepage = "https://checkstyle.org/"; + changelog = "https://checkstyle.org/releasenotes.html#Release_${version}"; sourceProvenance = with sourceTypes; [ binaryBytecode ]; license = licenses.lgpl21; maintainers = with maintainers; [ pSub ];