Merge pull request #171072 from dtzWill/update/scalafmt-3.5.2

scalafmt: 3.4.3 -> 3.5.2
This commit is contained in:
Jonas Heinrich 2022-09-05 09:43:11 +02:00 committed by GitHub
commit 9ba4e76334
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,8 @@
{ lib, stdenv, jdk, jre, coursier, makeWrapper }:
{ lib, stdenv, jre, coursier, makeWrapper, setJavaClassPath }:
let
baseName = "scalafmt";
version = "3.4.3";
version = "3.5.2";
deps = stdenv.mkDerivation {
name = "${baseName}-deps-${version}";
buildCommand = ''
@ -12,16 +12,15 @@ let
cp $(< deps) $out/share/java/
'';
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "FWGvhKK/VnvetnHS35/z1errYTRZCrcfWyEAHlhKApk=";
outputHash = "sha256-1QP5a0QjYUDU3JzrIX2rM/DclRfU/ACSXVLd6C7uFCo=";
};
in
stdenv.mkDerivation {
pname = baseName;
inherit version;
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jdk deps ];
nativeBuildInputs = [ makeWrapper setJavaClassPath ];
buildInputs = [ deps ];
dontUnpack = true;