nixpkgs/pkgs/development/ocaml-modules/camlimages/default.nix

21 lines
728 B
Nix
Raw Normal View History

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