1{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, astring }:
2
3stdenv.mkDerivation {
4 name = "ocaml${ocaml.version}-fpath-0.7.2";
5 src = fetchurl {
6 url = http://erratique.ch/software/fpath/releases/fpath-0.7.2.tbz;
7 sha256 = "1hr05d8bpqmqcfdavn4rjk9rxr7v2zl84866f5knjifrm60sxqic";
8 };
9
10 unpackCmd = "tar xjf $src";
11
12 buildInputs = [ ocaml findlib ocamlbuild topkg ];
13
14 propagatedBuildInputs = [ astring ];
15
16 inherit (topkg) buildPhase installPhase;
17
18 meta = {
19 description = "An OCaml module for handling file system paths with POSIX and Windows conventions";
20 homepage = http://erratique.ch/software/fpath;
21 license = stdenv.lib.licenses.isc;
22 maintainers = [ stdenv.lib.maintainers.vbgl ];
23 inherit (ocaml.meta) platforms;
24 };
25}