1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-20 21:17:46 +00:00
nixpkgs/pkgs/development/ocaml-modules/camlimages/default.nix
2018-03-07 23:39:47 +09:00

21 lines
744 B
Nix

{ stdenv, fetchzip, findlib, jbuilder, 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 jbuilder ocaml configurator cppo lablgtk ];
buildPhase = "jbuilder build -p camlimages";
inherit (jbuilder) 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 ];
};
}