merlin: some cleaning of the derivation

This commit is contained in:
Vincent Laporte 2014-08-01 09:42:37 +02:00
parent f16124d521
commit 81f258e7bf

View File

@ -1,15 +1,10 @@
{stdenv, fetchurl, ocaml, findlib, easy-format, biniou, yojson, menhir}:
let
pname = "merlin";
version = "1.6";
webpage = "http://the-lambda-church.github.io/merlin/";
in
stdenv.mkDerivation {
name = "${pname}-${version}";
name = "merlin-1.6";
src = fetchurl {
url = "https://github.com/the-lambda-church/${pname}/archive/v${version}.tar.gz";
url = "https://github.com/the-lambda-church/merlin/archive/v1.6.tar.gz";
sha256 = "0wq75hgffaszazrhkl0nfjxgx8bvazi2sjannd8q64hvax8hxzcy";
};
@ -19,7 +14,7 @@ stdenv.mkDerivation {
meta = {
description = "An editor-independant tool to ease the developpement of programs in OCaml";
homepage = "${webpage}";
homepage = "http://the-lambda-church.github.io/merlin/";
license = stdenv.lib.licenses.mit;
};
}