1{ lib, fetchurl, ocaml, buildDunePackage, seq, stdlib-shims, ounit2 }:
2
3buildDunePackage rec {
4 pname = "fileutils";
5 version = "0.6.4";
6
7 src = fetchurl {
8 url = "https://github.com/gildor478/ocaml-fileutils/releases/download/v${version}/fileutils-${version}.tbz";
9 hash = "sha256-enu2vGo2tuvawrTkap6bENNmxaLUQXpfHWih+7oKRF8=";
10 };
11
12 minimalOCamlVersion = "4.03";
13
14 propagatedBuildInputs = [
15 seq
16 stdlib-shims
17 ];
18
19 checkInputs = [
20 ounit2
21 ];
22 doCheck = lib.versionAtLeast ocaml.version "4.08";
23
24 meta = with lib; {
25 description = "OCaml API to manipulate real files (POSIX like) and filenames";
26 homepage = "https://github.com/gildor478/ocaml-fileutils";
27 license = licenses.lgpl21Plus;
28 maintainers = with maintainers; [ vbgl ];
29 };
30}