merlin: some cleaning of the derivation
This commit is contained in:
parent
f16124d521
commit
81f258e7bf
@ -1,15 +1,10 @@
|
|||||||
{stdenv, fetchurl, ocaml, findlib, easy-format, biniou, yojson, menhir}:
|
{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 {
|
stdenv.mkDerivation {
|
||||||
|
|
||||||
name = "${pname}-${version}";
|
name = "merlin-1.6";
|
||||||
|
|
||||||
src = fetchurl {
|
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";
|
sha256 = "0wq75hgffaszazrhkl0nfjxgx8bvazi2sjannd8q64hvax8hxzcy";
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -19,7 +14,7 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An editor-independant tool to ease the developpement of programs in OCaml";
|
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;
|
license = stdenv.lib.licenses.mit;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user