Files
nixpkgs/pkgs/development/ocaml-modules/fileutils/default.nix
T

29 lines
838 B
Nix
Raw Normal View History

{ stdenv, fetchurl, ocaml, findlib, ocamlbuild, ounit }:
2015-03-04 12:50:58 +01:00
stdenv.mkDerivation {
2017-01-25 02:04:19 -05:00
name = "ocaml-fileutils-0.5.1";
2015-03-04 12:50:58 +01:00
src = fetchurl {
2017-01-25 02:04:19 -05:00
url = https://forge.ocamlcore.org/frs/download.php/1651/ocaml-fileutils-0.5.1.tar.gz;
sha256 = "0g6zx2rcvacklxyli19ixcf6ich9ipxsps4k3jz98f5zlaab0a7g";
2015-03-04 12:50:58 +01: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;
preInstall = "make doc";
2015-03-04 12:50:58 +01:00
meta = {
homepage = https://forge.ocamlcore.org/projects/ocaml-fileutils/;
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 ];
};
}