Merge pull request #20525 from markus1189/scalafmt-0410

scalafmt: 0.4.2 -> 0.4.10
This commit is contained in:
Joachim F 2016-11-19 03:05:22 +01:00 committed by GitHub
commit 7ce938e1d6

View File

@ -1,13 +1,13 @@
{ stdenv, fetchurl, unzip, jre }: { stdenv, fetchurl, unzip, jre }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
version = "0.4.2"; version = "0.4.10";
baseName = "scalafmt"; baseName = "scalafmt";
name = "${baseName}-${version}"; name = "${baseName}-${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/olafurpg/scalafmt/releases/download/v${version}/${baseName}.tar.gz"; url = "https://github.com/olafurpg/scalafmt/releases/download/v${version}/${baseName}.tar.gz";
sha256 = "087zj30jnd2zic9glfk7kl8r97bzv34y2qz56iyh75a69dcs6gnk"; sha256 = "0igz95zy69pasvj4vya71akhwlc0233m7kwrn66rali1wxs2kcsz";
}; };
unpackPhase = "tar xvzf $src"; unpackPhase = "tar xvzf $src";