depot/third_party/nixpkgs/pkgs/development/ocaml-modules/fileutils/default.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

30 lines
779 B
Nix

{ 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.08";
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 ];
};
}