ocamlPackages.xtmpl: 0.16.0 -> 0.17.0 (#43304)

This commit is contained in:
Vincent Laporte 2018-07-10 23:13:01 +00:00 committed by xeji
parent 1f7689f189
commit 60629ce2c5

View File

@ -1,29 +1,30 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, uutf, sedlex, ppx_tools, js_of_ocaml { stdenv, fetchFromGitLab, ocaml, findlib, iri, ppx_tools, js_of_ocaml
, js_of_ocaml-camlp4, camlp4, re }: , js_of_ocaml-ppx, re }:
if stdenv.lib.versionOlder ocaml.version "4.03" if stdenv.lib.versionOlder ocaml.version "4.03"
then throw "xtmpl not supported for ocaml ${ocaml.version}" then throw "xtmpl not supported for ocaml ${ocaml.version}"
else else
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "xtmpl-${version}"; name = "ocaml${ocaml.version}-xtmpl-${version}";
version = "0.16.0"; version = "0.17.0";
src = fetchFromGitHub { src = fetchFromGitLab {
domain = "framagit.org";
owner = "zoggy"; owner = "zoggy";
repo = "xtmpl"; repo = "xtmpl";
rev = version; rev = version;
sha256 = "1dj5b4b266y4d8q3v1g0xsivz4vkhj0gi0jis37w84xcnlgiik8k"; sha256 = "1hq6y4rhz958q40145k4av8hx8jyvspg78xf741samd7vc3jd221";
}; };
buildInputs = [ ocaml findlib ppx_tools js_of_ocaml js_of_ocaml-camlp4 camlp4 ]; buildInputs = [ ocaml findlib ppx_tools js_of_ocaml js_of_ocaml-ppx ];
propagatedBuildInputs = [ sedlex uutf re ]; propagatedBuildInputs = [ iri re ];
createFindlibDestdir = true; createFindlibDestdir = true;
dontStrip = true; dontStrip = true;
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "Xml template library for OCaml"; description = "XML templating library for OCaml";
homepage = https://zoggy.github.io/xtmpl/; homepage = "https://www.good-eris.net/xtmpl/";
license = licenses.lgpl3; license = licenses.lgpl3;
platforms = ocaml.meta.platforms or []; platforms = ocaml.meta.platforms or [];
maintainers = with maintainers; [ regnat ]; maintainers = with maintainers; [ regnat ];