summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/fpath/default.nix
blob: 88f12003380958763b5bfb03793f049148935c5c (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
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg, astring }:

stdenv.mkDerivation {
  name = "ocaml${ocaml.version}-fpath-0.7.1";
  src = fetchurl {
    url = http://erratique.ch/software/fpath/releases/fpath-0.7.1.tbz;
    sha256 = "05134ij27xjl6gaqsc65yl19vfj6cjxq3mbm9bf4mija8grdpn6g";
  };

  unpackCmd = "tar xjf $src";

  buildInputs = [ ocaml findlib ocamlbuild opam topkg ];

  propagatedBuildInputs = [ astring ];

  inherit (topkg) buildPhase installPhase;

  meta = {
    description = "An OCaml module for handling file system paths with POSIX and Windows conventions";
    homepage = http://erratique.ch/software/fpath;
    license = stdenv.lib.licenses.isc;
    maintainers = [ stdenv.lib.maintainers.vbgl ];
    inherit (ocaml.meta) platforms;
  };
}