mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Merge pull request #20525 from markus1189/scalafmt-0410
scalafmt: 0.4.2 -> 0.4.10
This commit is contained in:
commit
7ce938e1d6
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user