Files
nixpkgs/pkgs/development/ocaml-modules/fileutils/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

39 lines
792 B
Nix

{
lib,
fetchurl,
ocaml,
buildDunePackage,
seq,
stdlib-shims,
ounit2,
}:
buildDunePackage rec {
pname = "fileutils";
version = "0.6.6";
src = fetchurl {
url = "https://github.com/gildor478/ocaml-fileutils/releases/download/v${version}/fileutils-${version}.tbz";
hash = "sha256-eW1XkeK/ezv/IAz1BXp6GHhDnrzXTtDxCIz4Z1bVK+Y=";
};
minimalOCamlVersion = "4.14";
propagatedBuildInputs = [
seq
stdlib-shims
];
checkInputs = [
ounit2
];
doCheck = lib.versionAtLeast ocaml.version "4.08";
meta = {
description = "OCaml API to manipulate real files (POSIX like) and filenames";
homepage = "https://github.com/gildor478/ocaml-fileutils";
license = lib.licenses.lgpl21Plus;
maintainers = with lib.maintainers; [ vbgl ];
};
}