2023-01-11 07:51:40 +00:00
|
|
|
{ lib, fetchurl, ocaml, buildDunePackage, seq, stdlib-shims, ounit2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "fileutils";
|
2023-01-11 07:51:40 +00:00
|
|
|
version = "0.6.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2023-01-11 07:51:40 +00:00
|
|
|
url = "https://github.com/gildor478/ocaml-fileutils/releases/download/v${version}/fileutils-${version}.tbz";
|
|
|
|
hash = "sha256-enu2vGo2tuvawrTkap6bENNmxaLUQXpfHWih+7oKRF8=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-01-11 07:51:40 +00:00
|
|
|
minimalOCamlVersion = "4.03";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-01-11 07:51:40 +00:00
|
|
|
seq
|
2021-06-28 23:13:55 +00:00
|
|
|
stdlib-shims
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
checkInputs = [
|
2023-01-11 07:51:40 +00:00
|
|
|
ounit2
|
2021-06-28 23:13:55 +00:00
|
|
|
];
|
2023-01-11 07:51:40 +00:00
|
|
|
doCheck = lib.versionAtLeast ocaml.version "4.04";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "OCaml API to manipulate real files (POSIX like) and filenames";
|
|
|
|
homepage = "https://github.com/gildor478/ocaml-fileutils";
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = with maintainers; [ vbgl ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|