1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-04 03:25:02 +00:00
nixpkgs/pkgs/development/ocaml-modules/fileutils/default.nix
2015-07-23 19:32:21 +02:00

29 lines
809 B
Nix

{ stdenv, fetchurl, ocaml, findlib, ounit }:
stdenv.mkDerivation {
name = "ocaml-fileutils-0.5.0";
src = fetchurl {
url = https://forge.ocamlcore.org/frs/download.php/1531/ocaml-fileutils-0.5.0.tar.gz;
sha256 = "0xs96nlrrm335mcsgsxnqzspiqyfn26b0jjxm72br7c7ax534n47";
};
buildInputs = [ ocaml findlib 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;
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 ];
};
}