summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/easy-format/default.nix
blob: 0554b67f1d784eaad56cd1591097a22f8c66a6d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{stdenv, fetchurl, ocaml, findlib}:
let
  pname = "easy-format";
  version = "1.0.2";
  webpage = "http://mjambon.com/${pname}.html";
in
stdenv.mkDerivation rec {

  name = "${pname}-${version}";

  src = fetchurl {
    url = "http://mjambon.com/releases/${pname}/${name}.tar.gz";
    sha256 = "07wlgprqvk92z0p2xzbnvh312ca6gvhy3xc6hxlqfawnnnin7rzi";
  };

  buildInputs = [ ocaml findlib ];

  createFindlibDestdir = true;

  meta = with stdenv.lib; {
    description = "A high-level and functional interface to the Format module of the OCaml standard library";
    homepage = "${webpage}";
    license = licenses.bsd3;
    maintainers = [ maintainers.vbgl ];
  };
}