blob: 0431c733cb909b17ab39e8947574e231f664180d (
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
];
checkInputs = [
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 ];
};
}
|