blob: e2f5fdab4f44e5e4411891211b3c977f5647eb52 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{ lib, fetchurl, ocaml, buildDunePackage, seq, stdlib-shims, ounit2 }:
buildDunePackage rec {
pname = "fileutils";
version = "0.6.4";
src = fetchurl {
url = "https://github.com/gildor478/ocaml-fileutils/releases/download/v${version}/fileutils-${version}.tbz";
hash = "sha256-enu2vGo2tuvawrTkap6bENNmxaLUQXpfHWih+7oKRF8=";
};
minimalOCamlVersion = "4.03";
propagatedBuildInputs = [
seq
stdlib-shims
];
nativeCheckInputs = [
ounit2
];
doCheck = lib.versionAtLeast ocaml.version "4.04";
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 ];
};
}
|