3
0
Fork 0
forked from mirrors/nixpkgs

metals: 0.10.7 → 0.10.8

This commit is contained in:
Fabián Heredia Montiel 2021-10-28 19:42:15 -05:00
parent 83fdaff9f7
commit d0fa01a269

View file

@ -2,13 +2,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "metals"; pname = "metals";
version = "0.10.7"; version = "0.10.8";
deps = stdenv.mkDerivation { deps = stdenv.mkDerivation {
name = "${pname}-deps-${version}"; name = "${pname}-deps-${version}";
buildCommand = '' buildCommand = ''
export COURSIER_CACHE=$(pwd) export COURSIER_CACHE=$(pwd)
${coursier}/bin/coursier fetch org.scalameta:metals_2.12:${version} \ ${coursier}/bin/cs fetch org.scalameta:metals_2.12:${version} \
-r bintray:scalacenter/releases \ -r bintray:scalacenter/releases \
-r sonatype:snapshots > deps -r sonatype:snapshots > deps
mkdir -p $out/share/java mkdir -p $out/share/java
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
''; '';
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHash = "0sk4vwpy06smn0k7035bdz0g2y98l8hxmn4v3gijsqaxvnya36x9"; outputHash = "sha256-xTJ+N/aYMEzAQnu1wwWQ/nGRMYiEMfNPiuUFHcFbU4c=";
}; };
nativeBuildInputs = [ makeWrapper ]; nativeBuildInputs = [ makeWrapper ];