1{ lib, fetchurl, buildDunePackage, stdlib-shims, ounit }:
2
3buildDunePackage rec {
4 pname = "fileutils";
5 version = "0.6.3";
6
7 src = fetchurl {
8 url = "https://github.com/gildor478/ocaml-fileutils/releases/download/v${version}/fileutils-v${version}.tbz";
9 sha256 = "0qhlhc7fzcq0yfg1wyszsi0gyc4w9hyzmfv84aq9wc79i3283xgg";
10 };
11
12 minimumOCamlVersion = "4.03";
13 useDune2 = true;
14
15 propagatedBuildInputs = [
16 stdlib-shims
17 ];
18
19 checkInputs = [
20 ounit
21 ];
22 doCheck = true;
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}