nixpkgs/pkgs/development/ocaml-modules/camlimages/default.nix
2018-09-15 19:32:32 +00:00

21 lines
728 B
Nix

{ stdenv, fetchzip, findlib, dune, ocaml, configurator, cppo, lablgtk }:
stdenv.mkDerivation rec {
name = "camlimages-${version}";
version = "5.0.0";
src = fetchzip {
url = "https://bitbucket.org/camlspotter/camlimages/get/${version}.tar.gz";
sha256 = "00qvwxkfnhv93yi1iq7vy3p5lxyi9xigxcq464s4ii6bmp32d998";
};
buildInputs = [ findlib dune ocaml configurator cppo lablgtk ];
buildPhase = "dune build -p camlimages";
inherit (dune) installPhase;
meta = with stdenv.lib; {
branch = "5.0";
homepage = https://bitbucket.org/camlspotter/camlimages;
description = "OCaml image processing library";
license = licenses.gpl2;
maintainers = [ maintainers.vbgl maintainers.mt-caret ];
};
}