lol
1{stdenv, fetchurl, ocaml, findlib}:
2let
3 pname = "easy-format";
4 version = "1.0.2";
5 webpage = "http://mjambon.com/${pname}.html";
6in
7stdenv.mkDerivation rec {
8
9 name = "${pname}-${version}";
10
11 src = fetchurl {
12 url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
13 sha256 = "07wlgprqvk92z0p2xzbnvh312ca6gvhy3xc6hxlqfawnnnin7rzi";
14 };
15
16 buildInputs = [ ocaml findlib ];
17
18 createFindlibDestdir = true;
19
20 meta = with stdenv.lib; {
21 description = "A high-level and functional interface to the Format module of the OCaml standard library";
22 homepage = "${webpage}";
23 license = licenses.bsd3;
24 maintainers = [ maintainers.vbgl ];
25 };
26}