1{
2 buildDunePackage,
3 lib,
4 fetchurl,
5 cppo,
6}:
7
8buildDunePackage rec {
9 pname = "extlib";
10 version = "1.8.0";
11
12 src = fetchurl {
13 url = "https://github.com/ygrek/ocaml-extlib/releases/download/${version}/extlib-${version}.tar.gz";
14 hash = "sha256-lkJ38AEoCo7d/AjgcB1Zygxr3F0FIxOz5A5QiPbUXXA=";
15 };
16
17 nativeBuildInputs = [ cppo ];
18
19 doCheck = true;
20
21 meta = {
22 homepage = "https://github.com/ygrek/ocaml-extlib";
23 description = "Enhancements to the OCaml Standard Library modules";
24 license = lib.licenses.lgpl21Only;
25 maintainers = [ lib.maintainers.sternenseemann ];
26 };
27}