diff --git a/pkgs/development/tools/analysis/checkstyle/default.nix b/pkgs/development/tools/analysis/checkstyle/default.nix index d07b73f48fc2..82394980fcf6 100644 --- a/pkgs/development/tools/analysis/checkstyle/default.nix +++ b/pkgs/development/tools/analysis/checkstyle/default.nix @@ -1,15 +1,15 @@ -{ lib, stdenv, fetchurl, makeWrapper, jre }: +{ lib, stdenvNoCC, fetchurl, makeBinaryWrapper, jre }: -stdenv.mkDerivation rec { - version = "10.12.0"; +stdenvNoCC.mkDerivation rec { + 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 ]; + nativeBuildInputs = [ makeBinaryWrapper ]; buildInputs = [ jre ]; dontUnpack = true; @@ -29,7 +29,8 @@ stdenv.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 ];