2016-10-08 08:44:25 +02:00
|
|
|
{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }:
|
2015-03-04 12:50:58 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2017-08-27 09:59:25 +02:00
|
|
|
name = "ocaml-fileutils-0.5.2";
|
2015-03-04 12:50:58 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2017-08-27 09:59:25 +02:00
|
|
|
url = https://forge.ocamlcore.org/frs/download.php/1695/ocaml-fileutils-0.5.2.tar.gz;
|
|
|
|
sha256 = "06l8hva3jmb2b7n4aa84dhhh1lr2mj8632gz4q83glc00khkn1vv";
|
2015-03-04 12:50:58 +01:00
|
|
|
};
|
|
|
|
|
2016-10-08 08:44:25 +02:00
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ounit ];
|
2015-07-23 19:32:21 +02:00
|
|
|
|
|
|
|
configureFlags = "--enable-tests";
|
|
|
|
doCheck = true;
|
|
|
|
checkTarget = "test";
|
2015-03-04 12:50:58 +01:00
|
|
|
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
|
2015-04-01 09:57:52 +02:00
|
|
|
preInstall = "make doc";
|
|
|
|
|
2015-03-04 12:50:58 +01:00
|
|
|
meta = {
|
|
|
|
homepage = https://forge.ocamlcore.org/projects/ocaml-fileutils/;
|
2015-12-24 18:49:07 +01:00
|
|
|
platforms = ocaml.meta.platforms or [];
|
2015-03-04 12:50:58 +01:00
|
|
|
description = "Library to provide pure OCaml functions to manipulate real file (POSIX like) and filename";
|
|
|
|
license = stdenv.lib.licenses.lgpl21Plus;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ vbgl ];
|
|
|
|
};
|
|
|
|
}
|