Merge pull request #171072 from dtzWill/update/scalafmt-3.5.2
scalafmt: 3.4.3 -> 3.5.2
This commit is contained in:
commit
9ba4e76334
1 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue