summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Laporte <Vincent.Laporte@gmail.com>2019-12-03 17:18:33 +0000
committerVincent Laporte <vbgl@users.noreply.github.com>2019-12-11 09:58:21 +0100
commit2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1 (patch)
treefe6ea0070fdffccaf65d9021d255a1daa9d04d49
parent17d19256085165c8853101e640b5be479f70e9ab (diff)
downloadnixpkgs-2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1.tar
nixpkgs-2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1.tar.gz
nixpkgs-2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1.tar.bz2
nixpkgs-2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1.tar.lz
nixpkgs-2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1.tar.xz
nixpkgs-2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1.tar.zst
nixpkgs-2cf477f28da9fa4ac501127c6b7cfbf1c23aa6e1.zip
ocamlPackages.merlin: 3.3.2 → 3.3.3
-rw-r--r--pkgs/development/tools/ocaml/merlin/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/tools/ocaml/merlin/default.nix b/pkgs/development/tools/ocaml/merlin/default.nix
index 67acf874baf..ed3d5efc789 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;