summary refs log tree commit diff
path: root/pkgs/development/tools/metals
diff options
context:
space:
mode:
authorKevin Rauscher <kevin.rauscher@tomahna.fr>2020-07-16 23:28:37 +0200
committerKevin Rauscher <kevin.rauscher@tomahna.fr>2020-07-16 23:31:28 +0200
commit8a58662c40c07c891d09cdf0ad59b789f68d6116 (patch)
tree19e7719c7273583d8b541ef993d72a51ace9da96 /pkgs/development/tools/metals
parent9218d4859c182bfd7995a425258cadc3c80418d7 (diff)
downloadnixpkgs-8a58662c40c07c891d09cdf0ad59b789f68d6116.tar
nixpkgs-8a58662c40c07c891d09cdf0ad59b789f68d6116.tar.gz
nixpkgs-8a58662c40c07c891d09cdf0ad59b789f68d6116.tar.bz2
nixpkgs-8a58662c40c07c891d09cdf0ad59b789f68d6116.tar.lz
nixpkgs-8a58662c40c07c891d09cdf0ad59b789f68d6116.tar.xz
nixpkgs-8a58662c40c07c891d09cdf0ad59b789f68d6116.tar.zst
nixpkgs-8a58662c40c07c891d09cdf0ad59b789f68d6116.zip
metals: 0.9.1 -> 0.9.2
Diffstat (limited to 'pkgs/development/tools/metals')
-rw-r--r--pkgs/development/tools/metals/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/tools/metals/default.nix b/pkgs/development/tools/metals/default.nix
index be471a6e530..e5046d1d1d9 100644
--- a/pkgs/development/tools/metals/default.nix
+++ b/pkgs/development/tools/metals/default.nix
@@ -1,10 +1,11 @@
 { stdenv, lib, coursier, jdk, jre, makeWrapper }:
 
-let
-  baseName = "metals";
-  version = "0.9.1";
+stdenv.mkDerivation rec {
+  pname = "metals";
+  version = "0.9.2";
+
   deps = stdenv.mkDerivation {
-    name = "${baseName}-deps-${version}";
+    name = "${pname}-deps-${version}";
     buildCommand = ''
       export COURSIER_CACHE=$(pwd)
       ${coursier}/bin/coursier fetch org.scalameta:metals_2.12:${version} \
@@ -15,11 +16,8 @@ let
     '';
     outputHashMode = "recursive";
     outputHashAlgo = "sha256";
-    outputHash     = "1pa84y7jrfl8p7lwz2pjlv70fqg1wmcz98npqq5i443smf7r9v4f";
+    outputHash     = "1gnf2p578nk1ygx3cc4mb7fa690c51nbdwvc2qz2805m4xg3x7zv";
   };
-in
-stdenv.mkDerivation rec {
-  name = "${baseName}-${version}";
 
   nativeBuildInputs = [ makeWrapper ];
   buildInputs = [ jdk deps ];