mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
scalafmt: 1.5.1 -> 2.0.0-RC5 (#58991)
This commit is contained in:
parent
4aeafc6b63
commit
3c37dde612
@ -2,18 +2,18 @@
|
||||
|
||||
let
|
||||
baseName = "scalafmt";
|
||||
version = "1.5.1";
|
||||
version = "2.0.0-RC5";
|
||||
deps = stdenv.mkDerivation {
|
||||
name = "${baseName}-deps-${version}";
|
||||
buildCommand = ''
|
||||
export COURSIER_CACHE=$(pwd)
|
||||
${coursier}/bin/coursier fetch com.geirsson:scalafmt-cli_2.12:${version} > deps
|
||||
${coursier}/bin/coursier fetch org.scalameta:scalafmt-cli_2.12:${version} > deps
|
||||
mkdir -p $out/share/java
|
||||
cp $(< deps) $out/share/java/
|
||||
'';
|
||||
outputHashMode = "recursive";
|
||||
outputHashAlgo = "sha256";
|
||||
outputHash = "15xfys9wdlx3rrqb2ab6qcfngkf6sa8v8q8shh10kk8jrc30g6dk";
|
||||
outputHash = "0y2nja4dj3l7f7m9dxr8xwda8vv27dwj090gfsa78a20vq1d3xxw";
|
||||
};
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Opinionated code formatter for Scala";
|
||||
homepage = http://scalafmt.org;
|
||||
homepage = http://scalameta.org/scalafmt;
|
||||
license = licenses.asl20;
|
||||
maintainers = [ maintainers.markus1189 ];
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user