1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 12:11:28 +00:00

Adds ocaml-magick-0.34

This package aims to provide the ImageMagick methods to OCaml

Homepage: http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/
This commit is contained in:
Vincent Laporte 2014-12-28 18:03:27 +01:00 committed by Peter Simons
parent 4c4768c4b0
commit 8f2588f0ce
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, fetchurl, which, pkgconfig, ocaml, findlib, imagemagick }:
stdenv.mkDerivation {
name = "ocaml-magick-0.34";
src = fetchurl {
url = http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/ImageMagick/OCaml-ImageMagick-0.34.tgz;
sha256 = "0gn9l2qdr8gby2x8c2mb59x1kipb2plr45rbq6ymcxyi0wmzfh3q";
};
nativeBuildInputs = [ which pkgconfig ];
buildInputs = [ ocaml findlib imagemagick ];
createFindlibDestdir = true;
installTargets = [ "find_install" ];
meta = {
homepage = http://www.linux-nantes.org/~fmonnier/OCaml/ImageMagick/;
description = "ImageMagick Binding for OCaml";
license = stdenv.lib.licenses.mit;
platforms = imagemagick.meta.platforms;
maintainers = with stdenv.lib.maintainers; [ vbgl ];
};
}

View file

@ -3707,6 +3707,8 @@ let
macaque = callPackage ../development/ocaml-modules/macaque { };
magick = callPackage ../development/ocaml-modules/magick { };
menhir = callPackage ../development/ocaml-modules/menhir { };
merlin = callPackage ../development/tools/ocaml/merlin { };