ocamlPackages.imagelib: init at 20171028 (#40910)

This commit is contained in:
Vincent Laporte 2018-05-23 10:33:26 +02:00 committed by xeji
parent ca556c4def
commit cc2ac8a39e
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,26 @@
{ stdenv, fetchFromGitHub, which, ocaml, findlib, ocamlbuild, decompress }:
stdenv.mkDerivation rec {
version = "20171028";
name = "ocaml${ocaml.version}-imagelib-${version}";
src = fetchFromGitHub {
owner = "rlepigre";
repo = "ocaml-imagelib";
rev = "ocaml-imagelib_${version}";
sha256 = "1frkrgcrv4ybdmqcfxpfsywx0hm1arxgxp32n8kzky6qip1g0zxf";
};
buildInputs = [ which ocaml findlib ocamlbuild ];
propagatedBuildInputs = [ decompress ];
createFindlibDestdir = true;
meta = {
description = "Image formats such as PNG and PPM in OCaml";
license = stdenv.lib.licenses.lgpl3;
maintainers = [ stdenv.lib.maintainers.vbgl ];
inherit (src.meta) homepage;
inherit (ocaml.meta) platforms;
};
}

View File

@ -269,6 +269,8 @@ let
higlo = callPackage ../development/ocaml-modules/higlo { };
imagelib = callPackage ../development/ocaml-modules/imagelib { };
inotify = callPackage ../development/ocaml-modules/inotify { };
integers = callPackage ../development/ocaml-modules/integers { };