2017-12-14 07:36:29 +00:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, topkg, astring }:
|
2017-01-19 05:51:49 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2017-07-11 22:00:43 +01:00
|
|
|
name = "ocaml${ocaml.version}-fpath-0.7.2";
|
2017-01-19 05:51:49 +00:00
|
|
|
src = fetchurl {
|
2019-04-22 09:14:28 +01:00
|
|
|
url = https://erratique.ch/software/fpath/releases/fpath-0.7.2.tbz;
|
2017-07-11 22:00:43 +01:00
|
|
|
sha256 = "1hr05d8bpqmqcfdavn4rjk9rxr7v2zl84866f5knjifrm60sxqic";
|
2017-01-19 05:51:49 +00:00
|
|
|
};
|
|
|
|
|
2017-12-14 07:36:29 +00:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild topkg ];
|
2017-01-19 05:51:49 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ astring ];
|
|
|
|
|
|
|
|
inherit (topkg) buildPhase installPhase;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "An OCaml module for handling file system paths with POSIX and Windows conventions";
|
2019-04-15 00:25:45 +01:00
|
|
|
homepage = https://erratique.ch/software/fpath;
|
2017-01-19 05:51:49 +00:00
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.vbgl ];
|
|
|
|
inherit (ocaml.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|