From 60629ce2c5edc0b1d05af63f4a77f9779ac6afc4 Mon Sep 17 00:00:00 2001 From: Vincent Laporte Date: Tue, 10 Jul 2018 23:13:01 +0000 Subject: ocamlPackages.xtmpl: 0.16.0 -> 0.17.0 (#43304) --- pkgs/development/ocaml-modules/xtmpl/default.nix | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'pkgs/development/ocaml-modules/xtmpl/default.nix') diff --git a/pkgs/development/ocaml-modules/xtmpl/default.nix b/pkgs/development/ocaml-modules/xtmpl/default.nix index 0d25b3785fc..4c5d1edcb09 100644 --- a/pkgs/development/ocaml-modules/xtmpl/default.nix +++ b/pkgs/development/ocaml-modules/xtmpl/default.nix @@ -1,29 +1,30 @@ -{ stdenv, fetchFromGitHub, ocaml, findlib, uutf, sedlex, ppx_tools, js_of_ocaml -, js_of_ocaml-camlp4, camlp4, re }: +{ stdenv, fetchFromGitLab, ocaml, findlib, iri, ppx_tools, js_of_ocaml +, js_of_ocaml-ppx, re }: if stdenv.lib.versionOlder ocaml.version "4.03" then throw "xtmpl not supported for ocaml ${ocaml.version}" else stdenv.mkDerivation rec { - name = "xtmpl-${version}"; - version = "0.16.0"; - src = fetchFromGitHub { + name = "ocaml${ocaml.version}-xtmpl-${version}"; + version = "0.17.0"; + src = fetchFromGitLab { + domain = "framagit.org"; owner = "zoggy"; repo = "xtmpl"; rev = version; - sha256 = "1dj5b4b266y4d8q3v1g0xsivz4vkhj0gi0jis37w84xcnlgiik8k"; + sha256 = "1hq6y4rhz958q40145k4av8hx8jyvspg78xf741samd7vc3jd221"; }; - buildInputs = [ ocaml findlib ppx_tools js_of_ocaml js_of_ocaml-camlp4 camlp4 ]; - propagatedBuildInputs = [ sedlex uutf re ]; + buildInputs = [ ocaml findlib ppx_tools js_of_ocaml js_of_ocaml-ppx ]; + propagatedBuildInputs = [ iri re ]; createFindlibDestdir = true; dontStrip = true; meta = with stdenv.lib; { - description = "Xml template library for OCaml"; - homepage = https://zoggy.github.io/xtmpl/; + description = "XML templating library for OCaml"; + homepage = "https://www.good-eris.net/xtmpl/"; license = licenses.lgpl3; platforms = ocaml.meta.platforms or []; maintainers = with maintainers; [ regnat ]; -- cgit 1.4.1