From 2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 3 Dec 2019 17:18:33 +0000 Subject: [PATCH] =?UTF-8?q?ocamlPackages.merlin:=203.3.2=20=E2=86=92=203.3?= =?UTF-8?q?.3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkgs/development/tools/ocaml/merlin/default.nix | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/pkgs/development/tools/ocaml/merlin/default.nix b/pkgs/development/tools/ocaml/merlin/default.nix index 67acf874baff..ed3d5efc789d 100644 --- a/pkgs/development/tools/ocaml/merlin/default.nix +++ b/pkgs/development/tools/ocaml/merlin/default.nix @@ -1,21 +1,19 @@ -{ stdenv, fetchFromGitHub, buildDunePackage, yojson }: +{ lib, fetchurl, buildDunePackage, yojson }: buildDunePackage rec { pname = "merlin"; - version = "3.3.2"; + version = "3.3.3"; minimumOCamlVersion = "4.02.1"; - src = fetchFromGitHub { - owner = "ocaml"; - repo = pname; - rev = "v${version}"; - sha256 = "1z9mcxflraj15sbz6q7f84n31n9fsialw7z8bi3r1biz68nypva9"; + src = fetchurl { + url = "https://github.com/ocaml/merlin/releases/download/v${version}/merlin-v${version}.tbz"; + sha256 = "05dfkbpbb7nvs4g6y0iw7a9f73ygvhs9l45l2g56y7zagvs9x43j"; }; buildInputs = [ yojson ]; - meta = with stdenv.lib; { + meta = with lib; { description = "An editor-independent tool to ease the development of programs in OCaml"; homepage = "https://github.com/ocaml/merlin"; license = licenses.mit;