a5adf1ddd8
GitOrigin-RevId: b3616bd96400ce0252c241d76fcafb64389defc6
28 lines
853 B
Nix
28 lines
853 B
Nix
{ stdenv, lib, fetchurl, ocaml, findlib, ocamlbuild, ounit }:
|
|
|
|
stdenv.mkDerivation {
|
|
name = "ocaml${ocaml.version}-fileutils-0.5.3";
|
|
|
|
src = fetchurl {
|
|
url = "https://forge.ocamlcore.org/frs/download.php/1728/ocaml-fileutils-0.5.3.tar.gz";
|
|
sha256 = "1rc4cqlvdhbs55i85zfbfhz938fsy4fj6kwlkfm3ra7bpwn8bmpd";
|
|
};
|
|
|
|
buildInputs = [ ocaml findlib ocamlbuild ounit ];
|
|
|
|
configureFlags = [ "--enable-tests" ];
|
|
doCheck = true;
|
|
checkTarget = "test";
|
|
|
|
createFindlibDestdir = true;
|
|
|
|
preInstall = "make doc";
|
|
|
|
meta = {
|
|
homepage = "https://forge.ocamlcore.org/projects/ocaml-fileutils/";
|
|
platforms = ocaml.meta.platforms or [];
|
|
description = "Library to provide pure OCaml functions to manipulate real file (POSIX like) and filename";
|
|
license = lib.licenses.lgpl21Plus;
|
|
maintainers = with lib.maintainers; [ vbgl ];
|
|
};
|
|
}
|