about summary refs log tree commit diff
path: root/pkgs/development/ocaml-modules/fileutils/default.nix
blob: 819298ac8cf180ac78cbf1ba23a76f9617d010f9 (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, buildDunePackage, stdlib-shims, ounit }:

buildDunePackage rec {
  pname = "fileutils";
  version = "0.6.3";

  src = fetchurl {
    url = "https://github.com/gildor478/ocaml-fileutils/releases/download/v${version}/fileutils-v${version}.tbz";
    sha256 = "0qhlhc7fzcq0yfg1wyszsi0gyc4w9hyzmfv84aq9wc79i3283xgg";
  };

  minimumOCamlVersion = "4.03";
  useDune2 = true;

  propagatedBuildInputs = [
    stdlib-shims
  ];

  checkInputs = [
    ounit
  ];
  doCheck = true;

  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 ];
  };
}