c59b8ce9c3
* ocamlPackages.index: 1.2.1 -> 1.3.0 * ocamlPackages.decompress: 0.9.0 -> 1.2.0 * ocamlPackages.imagelib-unix: remove at 20191011 * ocamlPackages.imagelib: 20191011 -> 20200929 * ocamlPackages.duff: 0.2 -> 0.3 * ocamlPackages.carton{,-git,-lwt}: init at 0.2.0 * ocamlPackages.encore: 0.5 → 0.7 * ocamlPackages.git-http: remove at 2.1.3 * ocamlPackages.git-unix: move into git directory * ocamlPackages.irmin-mem: remove at 2.2.0 Replaced by irmin.mem contained in ocamlPackages.irmin >= 2.4.0 * ocamlPackages.git*: 2.1.3 -> 3.2.0 ocamlPackages.git-unix: 2.1.3 -> 3.2.0 ocamlPackages.git-cohttp{,-unix,-mirage}: init at 3.2.0 * ocamlPackages.irmin*: 2.2.0 -> 2.4.0 ocamlPackages.irmin-containers: init at 2.4.0 ocamlPackages.irmin-layers: init at 2.4.0 ocamlPackages.irmin-mirage: init at 2.4.0 ocamlPackages.irmin-mirage-git: init at 2.4.0 ocamlPackages.irmin-mirage-graphql: init at 2.4.0 * ocamlPackages.wodan-irmin: mark as broken
28 lines
756 B
Nix
28 lines
756 B
Nix
{ lib, fetchurl, buildDunePackage
|
|
, decompress, stdlib-shims, alcotest
|
|
}:
|
|
|
|
buildDunePackage rec {
|
|
minimumOCamlVersion = "4.07";
|
|
version = "20200929";
|
|
pname = "imagelib";
|
|
|
|
useDune2 = true;
|
|
|
|
src = fetchurl {
|
|
url = "https://github.com/rlepigre/ocaml-imagelib/releases/download/ocaml-imagelib_${version}/imagelib-ocaml-imagelib_${version}.tbz";
|
|
sha256 = "1wyq4xxj0dxwafbcmd7jylsd8w1gbyl7j4ak6jbq1n0ardwmpwca";
|
|
};
|
|
|
|
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";
|
|
};
|
|
}
|