a3bb8d7922
GitOrigin-RevId: 439b1605227b8adb1357b55ce8529d541abbe9eb
28 lines
738 B
Nix
28 lines
738 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, decompress, stdlib-shims, alcotest
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimumOCamlVersion = "4.07";
|
|
version = "20210511";
|
|
pname = "imagelib";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/rlepigre/ocaml-imagelib/releases/download/${version}/imagelib-${version}.tbz";
|
|
sha256 = "1cb94ea3731dc994c205940c9434543ce3f2470cdcb2e93a3e02ed793e80d480";
|
|
};
|
|
|
|
propagatedBuildInputs = [ decompress stdlib-shims ];
|
|
|
|
doCheck = true;
|
|
checkInputs = [ alcotest ];
|
|
|
|
meta = {
|
|
description = "Image formats such as PNG and PPM in OCaml";
|
|
license = lib.licenses.lgpl3;
|
|
maintainers = [ lib.maintainers.vbgl ];
|
|
homepage = "https://github.com/rlepigre/ocaml-imagelib";
|
|
};
|
|
}
|