summaryrefslogtreecommitdiff
path: root/pkgs/development/ocaml-modules/extlib/default.nix
blob: 467a9188f9e31584ea609ab8be66def0fffd89e2 (plain)
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
{
  buildDunePackage,
  lib,
  fetchurl,
  cppo,
}:

buildDunePackage rec {
  pname = "extlib";
  version = "1.8.0";

  src = fetchurl {
    url = "https://github.com/ygrek/ocaml-extlib/releases/download/${version}/extlib-${version}.tar.gz";
    hash = "sha256-lkJ38AEoCo7d/AjgcB1Zygxr3F0FIxOz5A5QiPbUXXA=";
  };

  nativeBuildInputs = [ cppo ];

  doCheck = true;

  meta = {
    homepage = "https://github.com/ygrek/ocaml-extlib";
    description = "Enhancements to the OCaml Standard Library modules";
    license = lib.licenses.lgpl21Only;
    maintainers = [ lib.maintainers.sternenseemann ];
  };
}