2017-01-19 06:51:49 +01:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, opam, topkg, astring }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2017-07-11 23:00:43 +02:00
|
|
|
name = "ocaml${ocaml.version}-fpath-0.7.2";
|
2017-01-19 06:51:49 +01:00
|
|
|
src = fetchurl {
|
2017-07-11 23:00:43 +02:00
|
|
|
url = http://erratique.ch/software/fpath/releases/fpath-0.7.2.tbz;
|
|
|
|
sha256 = "1hr05d8bpqmqcfdavn4rjk9rxr7v2zl84866f5knjifrm60sxqic";
|
2017-01-19 06:51:49 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|